]> pd.if.org Git - pdclib/blobdiff - functions/string/strdup.c
Comment reformatting for consistency.
[pdclib] / functions / string / strdup.c
index d8792f30b72a98af858720b3c9a7c93a89630226..41df104b321025130d80b80411f6b5866405c1f4 100644 (file)
@@ -1,9 +1,13 @@
-/* [XSI] char* strdup(const char *)\r
+/* [XSI] char * strdup( const char * )\r
 \r
    This file is part of the Public Domain C Library (PDCLib).\r
    Permission is granted to use, modify, and / or redistribute at will.\r
 */\r
 \r
+#ifdef REGTEST\r
+#define _POSIX_C_SOURCE 200809L\r
+#endif\r
+\r
 #include <string.h>\r
 #include <stdlib.h>\r
 \r