configure: Don't define _WIN64 on the command line to avoid trouble with system headers.
This commit is contained in:
parent
1b8c98d35d
commit
9abd8852dd
|
@ -23497,37 +23497,6 @@ if test $ac_cv_cpp_def___x86_64__ = yes; then
|
||||||
CFLAGS="$CFLAGS -D__x86_64__"
|
CFLAGS="$CFLAGS -D__x86_64__"
|
||||||
LINTFLAGS="$LINTFLAGS -D__x86_64__"
|
LINTFLAGS="$LINTFLAGS -D__x86_64__"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
|
|
||||||
echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
|
|
||||||
if test "${ac_cv_cpp_def__WIN64+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
/* confdefs.h. */
|
|
||||||
_ACEOF
|
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#ifndef _WIN64
|
|
||||||
yes
|
|
||||||
#endif
|
|
||||||
_ACEOF
|
|
||||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
||||||
$EGREP "yes" >/dev/null 2>&1; then
|
|
||||||
ac_cv_cpp_def__WIN64=yes
|
|
||||||
else
|
|
||||||
ac_cv_cpp_def__WIN64=no
|
|
||||||
fi
|
|
||||||
rm -f conftest*
|
|
||||||
|
|
||||||
fi
|
|
||||||
{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
|
|
||||||
echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
|
|
||||||
if test $ac_cv_cpp_def__WIN64 = yes; then
|
|
||||||
CFLAGS="$CFLAGS -D_WIN64"
|
|
||||||
LINTFLAGS="$LINTFLAGS -D_WIN64"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
|
*alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
|
||||||
echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
|
echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
|
||||||
|
|
|
@ -1431,8 +1431,7 @@ dnl *** check for the need to define platform-specific symbols
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
*i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
|
*i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
|
||||||
*x86_64*) WINE_CHECK_DEFINE([__x86_64__])
|
*x86_64*) WINE_CHECK_DEFINE([__x86_64__]) ;;
|
||||||
WINE_CHECK_DEFINE([_WIN64]) ;;
|
|
||||||
*alpha*) WINE_CHECK_DEFINE([__ALPHA__]) ;;
|
*alpha*) WINE_CHECK_DEFINE([__ALPHA__]) ;;
|
||||||
*sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
|
*sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
|
||||||
*powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;;
|
*powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;;
|
||||||
|
|
|
@ -26,6 +26,10 @@ typedef unsigned short wchar_t;
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef unsigned __int64 size_t;
|
typedef unsigned __int64 size_t;
|
||||||
|
|
|
@ -38,6 +38,10 @@
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef unsigned __int64 size_t;
|
typedef unsigned __int64 size_t;
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef unsigned __int64 size_t;
|
typedef unsigned __int64 size_t;
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef unsigned __int64 size_t;
|
typedef unsigned __int64 size_t;
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
#define __WINE_USE_MSVCRT
|
#define __WINE_USE_MSVCRT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WCHAR_T_DEFINED
|
#ifndef _WCHAR_T_DEFINED
|
||||||
#define _WCHAR_T_DEFINED
|
#define _WCHAR_T_DEFINED
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
/* file._flag flags */
|
/* file._flag flags */
|
||||||
#define _IOREAD 0x0001
|
#define _IOREAD 0x0001
|
||||||
#define _IOWRT 0x0002
|
#define _IOWRT 0x0002
|
||||||
|
|
|
@ -18,10 +18,12 @@ typedef unsigned short wchar_t;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#if !defined(_MSC_VER) && !defined(__int64)
|
||||||
# ifndef __int64
|
#define __int64 long long
|
||||||
# define __int64 long long
|
#endif
|
||||||
# endif
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _DEV_T_DEFINED
|
#ifndef _DEV_T_DEFINED
|
||||||
typedef unsigned int _dev_t;
|
typedef unsigned int _dev_t;
|
||||||
#define _DEV_T_DEFINED
|
#define _DEV_T_DEFINED
|
||||||
|
|
|
@ -34,6 +34,10 @@ typedef unsigned short wchar_t;
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef unsigned __int64 size_t;
|
typedef unsigned __int64 size_t;
|
||||||
|
|
|
@ -39,6 +39,10 @@ typedef unsigned short wchar_t;
|
||||||
#define __int64 long long
|
#define __int64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
|
#define _WIN64
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef int mbstate_t;
|
typedef int mbstate_t;
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
|
|
Loading…
Reference in New Issue