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

Added hacks to work with C++Builder 2010:

Need HAS_STDINT_H defined (since it has stdint.h) and need to pre-define
_WIN32_WINNT since if it's set automatically to 0x600 or larger, mswsockdef.h
causes unresolved symbol: sockaddr_size.
parent 42fe0e73
No related branches found
No related tags found
No related merge requests found
...@@ -139,6 +139,9 @@ MKSHLIB = $(CC) -WD ...@@ -139,6 +139,9 @@ MKSHLIB = $(CC) -WD
CFLAGS = $(CFLAGS) -Od -D_DEBUG CFLAGS = $(CFLAGS) -Od -D_DEBUG
!endif !endif
# Required for C++Builder 2010
CFLAGS = $(CFLAGS) -DHAS_STDINT_H -D_WIN32_WINNT=0x502
# Debug or release build? # Debug or release build?
!ifdef DEBUG !ifdef DEBUG
BUILD = debug BUILD = debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment