mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 19:23:50 +08:00
Define __REACTOS__
svn path=/trunk/; revision=7434
This commit is contained in:
parent
9407236c53
commit
a06846aefa
@ -8,7 +8,7 @@ OBJECTS = bin2res.o mkstemps.o
|
||||
|
||||
CLEAN_FILES = *.o bin2res$(EXE_POSTFIX)
|
||||
|
||||
HOST_CFLAGS = -I$(PATH_TO_TOP)/include/wine -I$(PATH_TO_TOP)/include -Wall -Werror
|
||||
HOST_CFLAGS = -I$(PATH_TO_TOP)/include/wine -I$(PATH_TO_TOP)/include -D__REACTOS__ -Wall -Werror
|
||||
|
||||
bin2res.o: bin2res.c
|
||||
$(HOST_CC) -g $(HOST_CFLAGS) -c bin2res.c -o bin2res.o
|
||||
|
@ -19,7 +19,7 @@ OBJECTS = \
|
||||
|
||||
CLEAN_FILES = *.o $(TARGET)
|
||||
|
||||
HOST_CFLAGS = -D__USE_W32API -I$(PATH_TO_TOP)/include -I$(PATH_TO_TOP)/include/wine
|
||||
HOST_CFLAGS = -D__USE_W32API -D__REACTOS__ -I$(PATH_TO_TOP)/include -I$(PATH_TO_TOP)/include/wine
|
||||
|
||||
%.o: %.c
|
||||
$(HOST_CC) $(HOST_CFLAGS) -c $< -o $@
|
||||
|
Loading…
Reference in New Issue
Block a user