From a06846aefa451a09be4524a9abdbe17f3149b66c Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Sat, 3 Jan 2004 22:25:59 +0000 Subject: [PATCH] Define __REACTOS__ svn path=/trunk/; revision=7434 --- reactos/tools/bin2res/Makefile | 2 +- reactos/tools/winebuild/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/tools/bin2res/Makefile b/reactos/tools/bin2res/Makefile index 79e64bbcb62..2e27297bbd9 100644 --- a/reactos/tools/bin2res/Makefile +++ b/reactos/tools/bin2res/Makefile @@ -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 diff --git a/reactos/tools/winebuild/Makefile b/reactos/tools/winebuild/Makefile index 8052fb9351c..84ce9ccf49a 100644 --- a/reactos/tools/winebuild/Makefile +++ b/reactos/tools/winebuild/Makefile @@ -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 $@