Created
October 27, 2011 00:09
-
-
Save glasser/1318406 to your computer and use it in GitHub Desktop.
gettext patch 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naurp gettext-0.18.1.1.orig/gettext-tools/configure gettext-0.18.1.1/gettext-tools/configure | |
--- gettext-tools/configure 2010-06-06 13:12:20.000000000 -0700 | |
+++ gettext-tools/configure 2010-08-13 23:24:09.000000000 -0700 | |
@@ -40606,7 +40606,9 @@ else | |
#include <stdlib.h> | |
#include <string.h> /* for strcpy */ | |
/* The stpncpy prototype is missing in <string.h> on AIX 4. */ | |
+#ifndef stpncpy | |
extern char *stpncpy (char *dest, const char *src, size_t n); | |
+#endif | |
int main () { | |
const char *src = "Hello"; | |
char dest[10]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment