Mercurial > dwindows
comparison makefile.vc @ 756:ef17c8079f1d
Remove the compiler flag setting structure packing to 1 byte. The Windows API expect it to be 8 bytes.
This didn't seem to cause problems on 32bit but 64bit was causing crashes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 17 Mar 2011 15:34:05 +0000 |
parents | e6a9f1c7b0d7 |
children | 842bc671eaa7 |
comparison
equal
deleted
inserted
replaced
755:f574028932cc | 756:ef17c8079f1d |
---|---|
45 CFLAGS_DEBUG = -Ox | 45 CFLAGS_DEBUG = -Ox |
46 LINK_DEBUG = -release | 46 LINK_DEBUG = -release |
47 !endif | 47 !endif |
48 | 48 |
49 CC = cl | 49 CC = cl |
50 CFLAGS = -c -Zp1 $(PLATFORM_DEF) -D__WIN32__ -DMSVC -DBUILD_DLL -I$(SRCDIR)\platform -I$(SRCDIR) | 50 CFLAGS = -c $(PLATFORM_DEF) -D__WIN32__ -DMSVC -DBUILD_DLL -I$(SRCDIR)\platform -I$(SRCDIR) |
51 CFLAGS_COMPILE = -MTd # was -MD | 51 CFLAGS_COMPILE = -MTd # was -MD |
52 LIBS = wsock32.lib kernel32.lib user32.lib comctl32.lib gdi32.lib advapi32.lib shell32.lib comdlg32.lib ole32.lib oleaut32.lib | 52 LIBS = wsock32.lib kernel32.lib user32.lib comctl32.lib gdi32.lib advapi32.lib shell32.lib comdlg32.lib ole32.lib oleaut32.lib |
53 RES = | 53 RES = |
54 LINKFLAGS = -machine:$(TARGET_CPU) -manifest $(LINK_DEBUG) | 54 LINKFLAGS = -machine:$(TARGET_CPU) -manifest $(LINK_DEBUG) |
55 DLLLINKFLAGS = -dll | 55 DLLLINKFLAGS = -dll |