Remove preprocessor definitions handled in Platform.h from makefiles, remove obsolete function alias on Linux
Resolves #61 #59
This commit is contained in:
parent
355d2bfaee
commit
5f45923e1b
3 changed files with 2 additions and 3 deletions
|
@ -89,7 +89,7 @@ endif
|
|||
|
||||
ARCH_CFLAGS="$(ARCH_CFLAGS_I486)"
|
||||
|
||||
BASE_CFLAGS=-fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type
|
||||
BASE_CFLAGS=-fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DNO_MALLOC_OVERRIDE -fno-exceptions -fexpensive-optimizations -Werror=return-type
|
||||
BASE_CFLAGS+=-w
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
|
|
|
@ -15,7 +15,7 @@ GAME_SHARED_OBJ_DIR=$(HL1_OBJ_DIR)/game_shared
|
|||
HL1_SERVER_OBJ_DIR=$(HL1_OBJ_DIR)/server
|
||||
PM_SHARED_OBJ_DIR=$(HL1_OBJ_DIR)/pm_shared
|
||||
|
||||
CFLAGS=$(BASE_CFLAGS) $(ARCH_CFLAGS) -DCLIENT_DLL -DCLIENT_WEAPONS -I/usr/include/malloc -D_snwprintf=swprintf
|
||||
CFLAGS=$(BASE_CFLAGS) $(ARCH_CFLAGS) -DCLIENT_DLL -DCLIENT_WEAPONS -I/usr/include/malloc
|
||||
|
||||
INCLUDEDIRS=-I$(HL_SRC_DIR) -I../dlls -I$(COMMON_SRC_DIR) -I$(PUBLIC_SRC_DIR) -I../pm_shared -I../engine -I../utils/vgui/include -I ../game_shared -I../external
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue