about summary refs log tree commit diff stats
path: root/makefile.bcb
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.bcb')
-rw-r--r--makefile.bcb10
1 files changed, 6 insertions, 4 deletions
diff --git a/makefile.bcb b/makefile.bcb
index d3d486a5..3ffbf936 100644
--- a/makefile.bcb
+++ b/makefile.bcb
@@ -1,4 +1,4 @@
-# $LynxId: makefile.bcb,v 1.19 2012/07/06 00:36:00 tom Exp $
+# $LynxId: makefile.bcb,v 1.20 2012/07/06 23:34:14 tom Exp $
 #
 # Borland C++ / C++ builder
 # 1997/11/08 (Sat) 10:45:37
@@ -48,8 +48,8 @@ DEBUG=
 #SSL_LIBS = $(ETC_LIB)\libeay32.lib $(ETC_LIB)\libssl32.lib
 
 # Uncomment these lines if you wish to build with iconv
-#I18N_DEFS = -DHAVE_GETTEXT -DHAVE_LIBINTL_H
-#I18N_LIBS = $(ETC_LIB)\libiconv2.lib $(ETC_LIB)\libintl3.lib -DICONV_CONST=const -DEXP_JAPANESEUTF8_SUPPORT
+#I18N_DEFS = -DHAVE_GETTEXT -DHAVE_LIBINTL_H -DICONV_CONST=const -DEXP_JAPANESEUTF8_SUPPORT
+#I18N_LIBS = $(ETC_LIB)\libiconv2.lib $(ETC_LIB)\libintl3.lib
 
 CC_FLAGS = $(DEBUG) $(CS_DEFS) $(SOCK_DEFS) $(SSL_DEFS) $(I18N_DEFS) \
 -I./;$(ETC_INC);$(ETC_INC)/openssl;SRC;$(WWW_LIB);$(BCC_INC);SRC/CHRTRANS \
@@ -88,12 +88,14 @@ CC_FLAGS = $(DEBUG) $(CS_DEFS) $(SOCK_DEFS) $(SSL_DEFS) $(I18N_DEFS) \
 -DUSE_SOURCE_CACHE \
 -DUSE_ZLIB \
 -DVC="2.14FM" \
--DWIN_EX \
 -D_MSC_VER=0 \
+-DWIN_EX \
 -D_WINDOWS \
 -D_WIN_CC=1 \
 -DUSE_PROGRAM_DIR
 
+# Note: setting _MSC_VER=0 is needed to work around a problem in the BCC55
+# header files that makes it try to include varargs.h
 #
 # Dependency List
 #