Remove unused USE_GENERIC macro definition and description
authorIvan Maidanski <ivmai@mail.ru>
Sat, 22 Apr 2017 14:24:05 +0000 (17:24 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 22 Apr 2017 14:25:29 +0000 (17:25 +0300)
(code refactoring)

* BCC_MAKEFILE: Remove comment about USE_GENERIC macro.
* WCC_MAKEFILE: Likewise.
* BCC_MAKEFILE (defines): Remove -DUSE_GENERIC.
* WCC_MAKEFILE (CFLAGS): Likewise.
* doc/README.win32 (Borland Tools): Remove information about
-DUSE_GENERIC and assembler.

BCC_MAKEFILE
WCC_MAKEFILE
doc/README.win32

index 03db5ec..777e01f 100644 (file)
@@ -1,5 +1,4 @@
 # Makefile for Borland C++ 5.5 on NT\r
-# If you have the Borland assembler, remove "-DUSE_GENERIC"\r
 #\r
 bc=       c:\Borland\BCC55\r
 bcbin=    $(bc)\bin\r
@@ -15,7 +14,7 @@ lib=   $(bcbin)\tlib
 link=   $(bcbin)\ilink32\r
 cflags=  -O2 -R -v- -vi -H -H=gc.csm -I$(bcinclude);$(gcinclude1);$(gcinclude2) -L$(bclib) \\r
         -w-pro -w-aus -w-par -w-ccc -w-rch -a4\r
-defines= -DALL_INTERIOR_POINTERS -DUSE_GENERIC -DNO_GETENV -DJAVA_FINALIZATION -DENABLE_DISCLAIM -DGC_OPERATOR_NEW_ARRAY\r
+defines= -DALL_INTERIOR_POINTERS -DNO_GETENV -DJAVA_FINALIZATION -DENABLE_DISCLAIM -DGC_OPERATOR_NEW_ARRAY\r
 \r
 .c.obj:\r
        $(cc) @&&|\r
index 89c6f83..bae89d6 100644 (file)
@@ -66,8 +66,7 @@ TEST_DLLFLAG=
 CC=wcc386
 CXX=wpp386
 
-# -DUSE_GENERIC is required !
-CFLAGS=-$(CPU)$(CALLING) $(OPTIM) -zp4 -zc $(SYSFLAG) $(DLLFLAG) -DUSE_GENERIC $(DEFS)
+CFLAGS=-$(CPU)$(CALLING) $(OPTIM) -zp4 -zc $(SYSFLAG) $(DLLFLAG) $(DEFS)
 CXXFLAGS= $(CFLAGS)
 TEST_CFLAGS=-$(CPU)$(CALLING) $(OPTIM) -zp4 -zc $(SYSFLAG) $(TEST_DLLFLAG) $(DEFS)
 TEST_CXXFLAGS= $(TEST_CFLAGS)
index 0a32c20..fae4b5c 100644 (file)
@@ -94,9 +94,7 @@ I expect that -a1 introduces major performance penalties on a
 resort, gcconfig.h can be changed to allow 1 byte alignment.  But
 this has significant negative performance implications.)
 The Makefile is set up to assume Borland 4.5.  If you have another
-version, change the line near the top.  By default, it does not
-require the assembler.  If you do have the assembler, I recommend
-removing the -DUSE_GENERIC.
+version, change the line near the top.
 
 Digital Mars compiler
 ---------------------