aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-02-18 13:14:29 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-02-18 13:14:29 +0000
commit3845074c9e66ac6f9f95c2bb0c6eb6547e828e81 (patch)
treeb6237d5f4d375033785f12b2c6dcfe45063ac0dd /win
parentca038fc3a088874dfa5e980971c54a15c6ba1616 (diff)
MinGW64 requires that the functions be prefixed with an underscore. Visual C++ apparently doesn't
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@125 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'win')
-rwxr-xr-xwin/Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/Makerules b/win/Makerules
index 12e96fe..59a7d3a 100755
--- a/win/Makerules
+++ b/win/Makerules
@@ -30,9 +30,9 @@ endif
CFLAGS = -W3 -wd4996 -Iwin -I.
CDEFINES = -DWIN32 -D_CRT_SECURE_NO_DEPRECATE
ifeq ($(WIN64), yes)
-NAFLAGS = -fwin64 -DWIN64 -D__x86_64__ -Iwin/
+NAFLAGS = -fwin64 -DWIN64 -DMSVC -D__x86_64__ -Iwin/
else
-NAFLAGS = -fwin32 -DWIN32 -Iwin/
+NAFLAGS = -fwin32 -DWIN32 -DMSVC -Iwin/
endif
ifeq ($(DEBUG), yes)
CFLAGS := $(CFLAGS) -Od -MTd -Zi