summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-01-13 19:00:33 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-01-13 19:00:33 +0000
commit3b4c6959b2224ee9385acd674d697533b11e7eb4 (patch)
treeb6cbbd452720f2e9aca80c5aba5523a5eff2efd2 /src
parentae0cf687b9a343267938d86cfa9bf079960273f6 (diff)
downloadskalibs-3b4c6959b2224ee9385acd674d697533b11e7eb4.tar.xz
Try strnlen() portability with _POSIX_C_SOURCE...
Diffstat (limited to 'src')
-rw-r--r--src/sysdeps/trystrnlen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sysdeps/trystrnlen.c b/src/sysdeps/trystrnlen.c
index 0799dde..7ebab53 100644
--- a/src/sysdeps/trystrnlen.c
+++ b/src/sysdeps/trystrnlen.c
@@ -1,8 +1,5 @@
/* ISC license. */
-#undef _POSIX_C_SOURCE
-#undef _XOPEN_SOURCE
-
#include <string.h>
int main (void)