]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Small modification to tosthreads extra files
authorklueska <klueska>
Wed, 4 Feb 2009 03:10:12 +0000 (03:10 +0000)
committerklueska <klueska>
Wed, 4 Feb 2009 03:10:12 +0000 (03:10 +0000)
support/make/cthreads.extra
support/make/dynthreads.extra

index cb50e5f788b9559f03dd0e3e1fdfa8b3129ea1f5..e8b978acef06ad73dfc953ecf6e2fdaa677222db 100644 (file)
@@ -3,6 +3,7 @@
 
 #Get all the normal include directories for a threads build
 $(call TOSMake_include,threads.extra)
+PFLAGS += -DCTHREADS
 
 #Include directories required specifically for cthreads builds
 THREADS_CSYSTEM_DIR = $(TOS_THREADS_DIR)/csystem
index 2950cc26d530a55e36af764203c366a22f3d0d24..02e3ee844239d9154857022f206b10f9f0de454d 100644 (file)
@@ -6,6 +6,7 @@ BUILD_DEPS = dynthreads_all
 
 #Get all the normal include directories for a cthreads build
 $(call TOSMake_include,cthreads.extra)
+PFLAGS += -DDYNTHREADS
 
 #Stuff to build dynamically loadable binary
 DYNLOAD_CFILE = $(TOSTHREAD_MAIN_PATH)