bmx-ng / pub.mod

BlitzMax NG Pub modules port.
7 stars 8 forks source link

Cannot compile libuuid.mod on Linux #34

Closed GWRon closed 5 years ago

GWRon commented 5 years ago

There is a duplicate function defined there - and in the system's string.h.

in pub.mod/libuuid.mod/include/strutils.h I disabled this to make it compile again:

#ifndef HAVE_STRNDUP
//extern char *strndup(const char *s, size_t n);
#endif