Don't redefine _XOPEN_SOURCE and set it to 700 as previously.

This commit is contained in:
Juan RP 2013-12-29 16:49:24 +01:00
parent 1acce163ce
commit 8eb1d3889f
2 changed files with 1 additions and 2 deletions

1
configure vendored
View File

@ -206,7 +206,6 @@ fi
case "$OS" in case "$OS" in
linux) linux)
echo "CPPFLAGS += -D_XOPEN_SOURCE=700" >>$CONFIG_MK
echo "CPPFLAGS += -D_FILE_OFFSET_BITS=64" >> $CONFIG_MK echo "CPPFLAGS += -D_FILE_OFFSET_BITS=64" >> $CONFIG_MK
;; ;;
*) *)

View File

@ -27,7 +27,7 @@
#ifndef _XBPS_API_H_ #ifndef _XBPS_API_H_
#define _XBPS_API_H_ #define _XBPS_API_H_
#define _XOPEN_SOURCE 600 /* required by PATH_MAX et al */ #define _XOPEN_SOURCE 700 /* required by PATH_MAX et al */
#include <stdio.h> #include <stdio.h>
#include <inttypes.h> #include <inttypes.h>