Author: mladen.turk(a)jboss.com
Date: 2008-03-29 04:49:59 -0400 (Sat, 29 Mar 2008)
New Revision: 1488
Modified:
trunk/build/NMAKEcommon.inc
Log:
Add -D_CONSOLE to eEXE targets since we ar building console targets
Modified: trunk/build/NMAKEcommon.inc
===================================================================
--- trunk/build/NMAKEcommon.inc 2008-03-29 08:46:21 UTC (rev 1487)
+++ trunk/build/NMAKEcommon.inc 2008-03-29 08:49:59 UTC (rev 1488)
@@ -205,6 +205,9 @@
# Common flags for all platforms
CMN_CFLAGS = -c -nologo -DWIN32 -D_WIN32 -D_WINDOWS $(NMAKE_WINNT) -W3
+!IF "$(TARGET)" == "EXE"
+CMN_CFLAGS = $(CMN_CFLAGS) -D_CONSOLE
+!ENDIF
!IF "$(CPU)" == "X86"
CPU_CFLAGS = -D_X86_=1
Show replies by date