From 29b0d010d5c992cf24c9a0f88d554f43f8669270 Mon Sep 17 00:00:00 2001 From: zhitao Date: Thu, 13 Nov 2008 14:25:47 +0000 Subject: [PATCH] added #define for platform check --- platform/native/Makefile.native | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/native/Makefile.native b/platform/native/Makefile.native index 6e2752468..8607edbb3 100644 --- a/platform/native/Makefile.native +++ b/platform/native/Makefile.native @@ -18,3 +18,6 @@ CONTIKI_CPU=$(CONTIKI)/cpu/native include $(CONTIKI)/cpu/native/Makefile.native contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o} + +### Compiler definitions +CFLAGS += -DNATIVE=1 \ No newline at end of file