Don't redefine _XOPEN_SOURCE and set it to 700 as previously.
This commit is contained in:
parent
1acce163ce
commit
8eb1d3889f
1
configure
vendored
1
configure
vendored
@ -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
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user