Browse Source

Update psflib.c

Undefine strdup for platforms that somehow define it as a macro already.
master
Christopher Snowhill 5 years ago
parent
commit
764792b7e2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      psflib.c

+ 1
- 0
psflib.c View File

@@ -12,6 +12,7 @@
#include <strings.h>
#endif

#undef strdup
#define strdup(s) my_strdup(s)

static char * my_strdup(const char * s)


Loading…
Cancel
Save