Skip to content

Commit

Permalink
* Windows accomodation for the last two 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 40720ad commit 59cf5cb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/be_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
#ifndef BE_ALLOC_H_
#define BE_ALLOC_H_ 1

#include <features.h>
#if defined(__unix)
#include <features.h>
#endif

#include <limits.h>
#include "execute.h"
#include "symtab.h"
Expand Down Expand Up @@ -176,7 +179,7 @@ extern char *ERealloc(char *orig, uintptr_t newsize);
*/

#if defined(__DJGPP__) ? (__DJGPP__ <= 2 && __DJGPP_MINOR__ < 4) : \
!__GLIBC_PREREQ(2, 39)
(!defined(__GLIBC_PREREQ) || !__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 59cf5cb

Please sign in to comment.