[Libreoffice-commits] .: solenv/inc
Tor Lillqvist
tml at kemper.freedesktop.org
Mon Aug 15 06:54:10 PDT 2011
solenv/inc/wntmsc.mk | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
New commits:
commit 5cdd571141234e73ab9d7a529fbe1c267109cc20
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Mon Aug 15 16:51:38 2011 +0300
Cosmetics: Factor out the -DWIN32 to CDEFS and simplify the result
diff --git a/solenv/inc/wntmsc.mk b/solenv/inc/wntmsc.mk
index 3d01d29..e09b398 100644
--- a/solenv/inc/wntmsc.mk
+++ b/solenv/inc/wntmsc.mk
@@ -141,15 +141,10 @@ CFLAGSCALL=-Gz
CFLAGSCC=$(ARCH_FLAGS)
.IF "$(DYNAMIC_CRT)"!=""
-CDEFSSLOMT+=-DWIN32 -D_DLL
+CDEFSSLOMT+=-D_DLL
.IF "$(NO_DYNAMIC_OBJ)"==""
-CDEFSOBJMT+=-DWIN32 -D_DLL
-.ELSE
-CDEFSOBJMT+=-DWIN32
+CDEFSOBJMT+=-D_DLL
.ENDIF # "$(NO_DYNAMIC_OBJ)"==""
-.ELSE
-CDEFSSLOMT+=-DWIN32
-CDEFSOBJMT+=-DWIN32
.ENDIF # "$(DYNAMIC_CRT)"!=""
CFLAGSPROF=-Gh -Fd$(MISC)/$(@:b).pdb
@@ -213,7 +208,7 @@ CFLAGSWERRCC=-WX
# settings.mk):
MODULES_WITH_WARNINGS :=
-CDEFS+=-D_MT -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500
+CDEFS+=-DWIN32 -D_MT -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500
.IF "$(COMEX)" == "11"
_VC_MANIFEST_BASENAME=__VC80
.ELSE
More information about the Libreoffice-commits
mailing list