Skip to content
Snippets Groups Projects
Commit 93b4e41f authored by rswindell's avatar rswindell
Browse files

Use __MAKE__ macro to detect C++Builder 2010 and enable the necessary hacks

(and change the output directory prefix from "bcc" to "ecc6").
Fix the output directory naming when used with MSVC, which we don't do.
parent 03ec14cd
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ UL_SUF = $(LIBFILE)
!ifdef msc # Microsoft Visual C++
CC = cl
LD = link
CCPRE = msvc.win32
CCPRE = msvc
OUTPUT = -Fo
LOUTPUT = -Fe
CFLAGS = -nologo -MTd
......@@ -139,8 +139,11 @@ MKSHLIB = $(CC) -WD
CFLAGS = $(CFLAGS) -Od -D_DEBUG
!endif
# Required for C++Builder 2010
CFLAGS = $(CFLAGS) -DHAS_STDINT_H -D_WIN32_WINNT=0x502
# Required for Embarcadero C++Builder 2010
!if __MAKE__ >= 0x0540
CCPRE = ecc6
CFLAGS = $(CFLAGS) -DHAS_STDINT_H -D_WIN32_WINNT=0x502
!endif
# Debug or release build?
!ifdef DEBUG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment