diff options
author | axtloss <axtlos@getcryst.al> | 2024-07-14 17:44:20 +0200 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-07-14 17:44:20 +0200 |
commit | 58fbbbca5a1f6b94885ce47e46c28e1cd03583d7 (patch) | |
tree | a9c53614295d8a6733f356679c0b633c5ce48e7c /src/extlib.h | |
parent | 1a4696492e3cd478080e438950a7664a68fefcd6 (diff) | |
download | extlib-58fbbbca5a1f6b94885ce47e46c28e1cd03583d7.tar.gz extlib-58fbbbca5a1f6b94885ce47e46c28e1cd03583d7.tar.bz2 |
move to autotools
Diffstat (limited to 'src/extlib.h')
-rw-r--r-- | src/extlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extlib.h b/src/extlib.h index 5264195..80c79d0 100644 --- a/src/extlib.h +++ b/src/extlib.h @@ -19,7 +19,9 @@ void *malloc_secure (size_t len); #endif #if (__STDC_WANT_LIB_EXT1__ == 1) +#ifndef RSIZE_MAX #define RSIZE_MAX SIZE_MAX +#endif typedef int errno_t; typedef size_t rsize_t; @@ -60,5 +62,5 @@ char *strupr(char *s); char *trim (char *s, int *rem_front, int *rem_back); /// Match string s for old and replace it with string replace -char *replace_str (char *s, char *old, char *replace); + char *replace_str (char *s, char *old, char *replace); |