summaryrefslogtreecommitdiff
path: root/libc/string/i386/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strncpy.c')
-rw-r--r--libc/string/i386/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/i386/strncpy.c b/libc/string/i386/strncpy.c
index 1e7257e95..db135ee4a 100644
--- a/libc/string/i386/strncpy.c
+++ b/libc/string/i386/strncpy.c
@@ -30,9 +30,9 @@
* -Erik
*/
-#define _GNU_SOURCE
#include <string.h>
+#undef strncpy
char attribute_hidden *__strncpy(char * dest, const char * src, size_t count)
{
int d0, d1, d2, d3;