From 57f571dea231b919e704809409c4a0f4e2c3b1b2 Mon Sep 17 00:00:00 2001 From: atmos4 Date: Sun, 5 Aug 2001 12:39:34 +0000 Subject: Make cygwin define WIN32 for compatibility with mingw and visualc, ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1442 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') diff --git a/configure b/configure index c549008ef5..0d7fbf9ee5 100755 --- a/configure +++ b/configure @@ -284,10 +284,12 @@ echo "Detected host architecture: $host_arch" # Determine OS dependent libs _confcygwin="TARGET_CYGWIN=no" +_confwin32= if [ "$system_name" = "FreeBSD" ]; then _archlibs="-rdynamic -pthread" elif [ `echo $system_name | sed 's/CYGWIN.*/CYGWIN/i'` = "CYGWIN" ]; then _confcygwin="TARGET_CYGWIN=yes" + _confwin32="#define WIN32" _archlibs="-lpthread" else _archlibs="-ldl -lpthread" @@ -1936,6 +1938,8 @@ $_words_endian $_arch +$_confwin32 + /* Define this to any prefered value from 386 up to infinity with step 100 */ #define __CPU__ $iproc -- cgit v1.2.3