Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjung2014-03-24 20:47:32 +0000
committertjung2014-03-24 20:47:32 +0000
commit760953619c0160904d06de04e6a20e9ed7fe9553 (patch)
treed6378bca09a7c13ca0bf7232185b57be95006f49 /runtime/org.eclipse.etrice.runtime.c/src/platforms
parentefefbe8a24d69076ea000a128338ea4b64d142aa (diff)
parent76eed223d0f63f15d0e76e0759648e6906864fd8 (diff)
downloadorg.eclipse.etrice-760953619c0160904d06de04e6a20e9ed7fe9553.tar.gz
org.eclipse.etrice-760953619c0160904d06de04e6a20e9ed7fe9553.tar.xz
org.eclipse.etrice-760953619c0160904d06de04e6a20e9ed7fe9553.zip
Merge branch 'master' of ssh://git.eclipse.org/gitroot/etrice/org.eclipse.etrice
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h6
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h6
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h6
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h6
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h6
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h6
6 files changed, 36 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h
index aabc4ca8b..e6bd14c83 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h
@@ -61,6 +61,12 @@ typedef bool boolean;
#ifndef FALSE
#define FALSE 0
#endif
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
#define ALIGNMENT 8 /* power of 2 and >= sizeof(int) ! */
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h
index a9c754848..0f207242a 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h
@@ -58,6 +58,12 @@ typedef char bool; /* TODO: bool, Bool, Boolean, and boolean are already define
#ifndef FALSE
#define FALSE 0
#endif
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
#define ALIGNMENT 8 /* power of 2 and >= sizeof(int) ! */
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h
index 490a103a5..674fe5daf 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h
@@ -47,6 +47,12 @@ typedef bool boolean;
#ifndef FALSE
#define FALSE 0
#endif
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
/*
* typedefs for eTrice Runtime and Testing
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h
index aa948e6b4..2f23b2ef5 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h
@@ -47,6 +47,12 @@ typedef bool boolean;
#ifndef FALSE
#define FALSE 0
#endif
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
/*
* typedefs for eTrice Runtime and Testing
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h
index 361b1f4db..d71a7b865 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h
@@ -47,6 +47,12 @@ typedef bool boolean;
#ifndef FALSE
#define FALSE 0
#endif
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
/*
* typedefs for eTrice Runtime and Testing
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h
index aa948e6b4..2f23b2ef5 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h
@@ -47,6 +47,12 @@ typedef bool boolean;
#ifndef FALSE
#define FALSE 0
#endif
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
/*
* typedefs for eTrice Runtime and Testing

Back to the top