Skip to content

Commit

Permalink
* Windows accomodation for the last three commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn David Pringle, B.Sc. committed Nov 2, 2024
1 parent 59cf5cb commit b6bcd83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/be_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,11 @@ extern char *ERealloc(char *orig, uintptr_t newsize);
GLIB versions between 2.28 (when the old code worked) and version 2.39
is where the things get broken.
*/

#if !defined(__GLIBC_PREREQ)
# define __GLIBC_PREREQ(x,y) false
#endif
#if defined(__DJGPP__) ? (__DJGPP__ <= 2 && __DJGPP_MINOR__ < 4) : \
(!defined(__GLIBC_PREREQ) || !__GLIBC_PREREQ(2, 39))
(!__GLIBC_PREREQ(2, 39))
size_t strlcpy(char *dest, char *src, size_t maxlen);
size_t strlcat(char *dest, char *src, size_t maxlen);
#endif
Expand Down

0 comments on commit b6bcd83

Please sign in to comment.