about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-09-08 21:24:33 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-09-08 21:24:33 +0000
commit0d1dd9118a846ba1e2ee2f46eee7133776d2e3c0 (patch)
tree4a44e23b6ffec6674c686b29cc97c260995800be /lib
parentb0267f8b5613f39d94bcfabea233d97d17be163f (diff)
downloadnetpbm-mirror-0d1dd9118a846ba1e2ee2f46eee7133776d2e3c0.tar.gz
netpbm-mirror-0d1dd9118a846ba1e2ee2f46eee7133776d2e3c0.tar.xz
netpbm-mirror-0d1dd9118a846ba1e2ee2f46eee7133776d2e3c0.zip
Change _XOPEN_SOURCE from 500 to 600 for Mac OSX
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1731 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/colorname.c2
-rw-r--r--lib/libpam.c2
-rw-r--r--lib/libpamcolor.c2
-rw-r--r--lib/libpm.c2
-rw-r--r--lib/libppmcolor.c2
-rw-r--r--lib/pmfileio.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/colorname.c b/lib/colorname.c
index 20b000e6..11df31c8 100644
--- a/lib/colorname.c
+++ b/lib/colorname.c
@@ -13,7 +13,7 @@
 */
 
 #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
-#define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
+#define _XOPEN_SOURCE 600  /* Make sure strdup() is in string.h */
 
 #include "pm_c_util.h"
 #include <ctype.h>
diff --git a/lib/libpam.c b/lib/libpam.c
index 1f58aa7b..601188c8 100644
--- a/lib/libpam.c
+++ b/lib/libpam.c
@@ -11,7 +11,7 @@
 #define _FILE_OFFSET_BITS 64
 #define _LARGE_FILES  
 #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
-#define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
+#define _XOPEN_SOURCE 600  /* Make sure strdup() is in string.h */
 
 #include <string.h>
 #include <limits.h>
diff --git a/lib/libpamcolor.c b/lib/libpamcolor.c
index b64f8963..8604e15e 100644
--- a/lib/libpamcolor.c
+++ b/lib/libpamcolor.c
@@ -12,7 +12,7 @@
 #define _LARGE_FILES  
 
 #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
-#define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
+#define _XOPEN_SOURCE 600  /* Make sure strdup() is in string.h */
 
 #include <string.h>
 #include <limits.h>
diff --git a/lib/libpm.c b/lib/libpm.c
index 9534b53a..6bc8521c 100644
--- a/lib/libpm.c
+++ b/lib/libpm.c
@@ -9,7 +9,7 @@
 **************************************************************************/
 
 #define _BSD_SOURCE          /* Make sure strdup is in string.h */
-#define _XOPEN_SOURCE 500    /* Make sure ftello, fseeko are defined */
+#define _XOPEN_SOURCE 600    /* Make sure ftello, fseeko are defined */
 
 #include "netpbm/pm_config.h"
 
diff --git a/lib/libppmcolor.c b/lib/libppmcolor.c
index 36eb7a3f..3e7bf27c 100644
--- a/lib/libppmcolor.c
+++ b/lib/libppmcolor.c
@@ -10,7 +10,7 @@
 */
 
 #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
-#define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
+#define _XOPEN_SOURCE 600  /* Make sure strdup() is in string.h */
 
 #include <assert.h>
 #include <stdlib.h>
diff --git a/lib/pmfileio.c b/lib/pmfileio.c
index ab1fcd32..82b44cdb 100644
--- a/lib/pmfileio.c
+++ b/lib/pmfileio.c
@@ -10,7 +10,7 @@
        does it in other libc's).  pm_config.h defines TMPDIR as P_tmpdir
        in some environments.
     */
-#define _XOPEN_SOURCE 500    /* Make sure ftello, fseeko are defined */
+#define _XOPEN_SOURCE 600    /* Make sure ftello, fseeko are defined */
 #define _LARGEFILE_SOURCE 1  /* Make sure ftello, fseeko are defined */
 #define _LARGEFILE64_SOURCE 1 
 #define _FILE_OFFSET_BITS 64