WINDOWS is defined in e_os.h. The problem was WIN32 (the new egcs uses _WIN32).
This commit is contained in:
parent
6481f3d29d
commit
b838465135
@ -298,8 +298,8 @@ my %table=(
|
|||||||
# CygWin32
|
# CygWin32
|
||||||
# (Note: the real CFLAGS for Windows builds are defined by util/mk1mf.pl
|
# (Note: the real CFLAGS for Windows builds are defined by util/mk1mf.pl
|
||||||
# and its library files in util/pl/*)
|
# and its library files in util/pl/*)
|
||||||
"CygWin32", "gcc:-DTERMIOS -DL_ENDIAN -DWINDOWS -fomit-frame-pointer -O3 -m486 -Wall::::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
"CygWin32", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
||||||
"Mingw32", "gcc:-DL_ENDIAN -DWINDOWS -fomit-frame-pointer -O3 -m486 -Wall::::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
"Mingw32", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
||||||
|
|
||||||
# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
|
# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
|
||||||
"ultrix-cc","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::(unknown)::::::",
|
"ultrix-cc","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::(unknown)::::::",
|
||||||
|
4
e_os.h
4
e_os.h
@ -107,6 +107,10 @@ extern "C" {
|
|||||||
# define MS_STATIC
|
# define MS_STATIC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(WIN32)
|
||||||
|
# define WIN32
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(WIN16)
|
#if defined(WIN32) || defined(WIN16)
|
||||||
# ifndef WINDOWS
|
# ifndef WINDOWS
|
||||||
# define WINDOWS
|
# define WINDOWS
|
||||||
|
@ -17,9 +17,9 @@ $mkdir='gmkdir';
|
|||||||
|
|
||||||
$cc='gcc';
|
$cc='gcc';
|
||||||
if ($debug)
|
if ($debug)
|
||||||
{ $cflags="-DL_ENDIAN -DWINDOWS -g2 -ggdb"; }
|
{ $cflags="-DL_ENDIAN -g2 -ggdb"; }
|
||||||
else
|
else
|
||||||
{ $cflags="-DL_ENDIAN -DWINDOWS -fomit-frame-pointer -O3 -m486 -Wall"; }
|
{ $cflags="-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall"; }
|
||||||
|
|
||||||
$obj='.o';
|
$obj='.o';
|
||||||
$ofile='-o ';
|
$ofile='-o ';
|
||||||
|
@ -11,9 +11,9 @@ $rm='del';
|
|||||||
|
|
||||||
$cc='gcc';
|
$cc='gcc';
|
||||||
if ($debug)
|
if ($debug)
|
||||||
{ $cflags="-DWINDOWS -g2 -ggdb"; }
|
{ $cflags="-g2 -ggdb"; }
|
||||||
else
|
else
|
||||||
{ $cflags="-DWINDOWS -O3 -fomit-frame-pointer"; }
|
{ $cflags="-O3 -fomit-frame-pointer"; }
|
||||||
|
|
||||||
$obj='.o';
|
$obj='.o';
|
||||||
$ofile='-o ';
|
$ofile='-o ';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user