From 6481f3d29ddda737c78761efe26da901ed57b7fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 20 Jan 2000 23:16:07 +0000 Subject: [PATCH] Define WINDOWS in all Mingw32 cases. --- util/pl/Mingw32.pl | 2 +- util/pl/Mingw32f.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/pl/Mingw32.pl b/util/pl/Mingw32.pl index 681a4552ea..8a4a0f2564 100644 --- a/util/pl/Mingw32.pl +++ b/util/pl/Mingw32.pl @@ -17,7 +17,7 @@ $mkdir='gmkdir'; $cc='gcc'; if ($debug) - { $cflags="-g2 -ggdb"; } + { $cflags="-DL_ENDIAN -DWINDOWS -g2 -ggdb"; } else { $cflags="-DL_ENDIAN -DWINDOWS -fomit-frame-pointer -O3 -m486 -Wall"; } diff --git a/util/pl/Mingw32f.pl b/util/pl/Mingw32f.pl index a53c537646..9755d1b266 100644 --- a/util/pl/Mingw32f.pl +++ b/util/pl/Mingw32f.pl @@ -11,9 +11,9 @@ $rm='del'; $cc='gcc'; if ($debug) - { $cflags="-g2 -ggdb"; } + { $cflags="-DWINDOWS -g2 -ggdb"; } else - { $cflags="-O3 -fomit-frame-pointer"; } + { $cflags="-DWINDOWS -O3 -fomit-frame-pointer"; } $obj='.o'; $ofile='-o '; -- 2.25.1