Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9abd8852
Commit
9abd8852
authored
Oct 16, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Don't define _WIN64 on the command line to avoid trouble with system headers.
parent
1b8c98d3
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
43 additions
and
37 deletions
+43
-37
configure
configure
+0
-31
configure.ac
configure.ac
+1
-2
direct.h
include/msvcrt/direct.h
+4
-0
malloc.h
include/msvcrt/malloc.h
+4
-0
mbstring.h
include/msvcrt/mbstring.h
+4
-0
search.h
include/msvcrt/search.h
+4
-0
stddef.h
include/msvcrt/stddef.h
+4
-0
stdio.h
include/msvcrt/stdio.h
+4
-0
string.h
include/msvcrt/string.h
+6
-4
types.h
include/msvcrt/sys/types.h
+4
-0
time.h
include/msvcrt/time.h
+4
-0
wchar.h
include/msvcrt/wchar.h
+4
-0
No files found.
configure
View file @
9abd8852
...
@@ -23497,37 +23497,6 @@ if test $ac_cv_cpp_def___x86_64__ = yes; then
...
@@ -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
;
}
...
...
configure.ac
View file @
9abd8852
...
@@ -1431,8 +1431,7 @@ dnl *** check for the need to define platform-specific symbols
...
@@ -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__]) ;;
...
...
include/msvcrt/direct.h
View file @
9abd8852
...
@@ -26,6 +26,10 @@ typedef unsigned short wchar_t;
...
@@ -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
;
...
...
include/msvcrt/malloc.h
View file @
9abd8852
...
@@ -38,6 +38,10 @@
...
@@ -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
;
...
...
include/msvcrt/mbstring.h
View file @
9abd8852
...
@@ -27,6 +27,10 @@
...
@@ -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
;
...
...
include/msvcrt/search.h
View file @
9abd8852
...
@@ -27,6 +27,10 @@
...
@@ -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
;
...
...
include/msvcrt/stddef.h
View file @
9abd8852
...
@@ -23,6 +23,10 @@
...
@@ -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
...
...
include/msvcrt/stdio.h
View file @
9abd8852
...
@@ -19,6 +19,10 @@
...
@@ -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
...
...
include/msvcrt/string.h
View file @
9abd8852
...
@@ -18,10 +18,12 @@ typedef unsigned short wchar_t;
...
@@ -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
...
...
include/msvcrt/sys/types.h
View file @
9abd8852
...
@@ -27,6 +27,10 @@
...
@@ -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
...
...
include/msvcrt/time.h
View file @
9abd8852
...
@@ -34,6 +34,10 @@ typedef unsigned short wchar_t;
...
@@ -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
;
...
...
include/msvcrt/wchar.h
View file @
9abd8852
...
@@ -39,6 +39,10 @@ typedef unsigned short wchar_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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment