Remove DARWIN define from osx builds as it cripples the feature set provided by
OSX headers. Bug #154232 r=wtc sr=scc a=scc
This commit is contained in:
Родитель
7924fa60a6
Коммит
3cfe0f9012
|
@ -2848,7 +2848,7 @@ else
|
|||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
for ac_prog in gawk mawk nawk awk
|
||||
for ac_prog in mawk gawk nawk awk
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
|
|
|
@ -759,9 +759,6 @@ case "$target" in
|
|||
;;
|
||||
|
||||
*-darwin*)
|
||||
AC_DEFINE(DARWIN)
|
||||
AC_DEFINE(TARGET_CARBON)
|
||||
AC_DEFINE(TARGET_API_MAC_CARBON)
|
||||
_PEDANTIC=
|
||||
CFLAGS="$CFLAGS -fpascal-strings -traditional-cpp -fno-common"
|
||||
CXXFLAGS="$CXXFLAGS -fpascal-strings -traditional-cpp -fno-common"
|
||||
|
@ -770,7 +767,6 @@ case "$target" in
|
|||
STRIP="$STRIP -x -S"
|
||||
case "${target_cpu}" in
|
||||
powerpc*)
|
||||
AC_DEFINE(NO_X11)
|
||||
AC_DEFINE(XP_MACOSX)
|
||||
AC_DEFINE(TARGET_CARBON)
|
||||
AC_DEFINE(TARGET_API_MAC_CARBON)
|
||||
|
|
|
@ -39,10 +39,6 @@
|
|||
#define XP_UNIX
|
||||
#endif
|
||||
|
||||
#ifndef DARWIN
|
||||
#define DARWIN
|
||||
#endif
|
||||
|
||||
#define PR_AF_INET6 30 /* same as AF_INET6 */
|
||||
|
||||
#if defined(i386)
|
||||
|
|
Загрузка…
Ссылка в новой задаче