Simple mbed library with macros

Dependents:   SimpleTimer SimpleUART SimpleTimer Stoppuhr1

Revision:
10:0f79cde3f231
Parent:
8:f8b47457fdcf
Child:
14:23c6d41cb377
--- a/mbed_globals.h	Sat Nov 13 22:29:03 2010 +0000
+++ b/mbed_globals.h	Sat Nov 13 22:53:37 2010 +0000
@@ -55,4 +55,12 @@
 #define TOKENPASTE2(x, y) TOKENPASTE(x, y)
 #define TOKENPASTE3(x, y, z) TOKENPASTE(TOKENPASTE(x, y), z)
 
+// Extern C
+#ifdef __cplusplus
+    #define EXTERN_C extern "C"
+#else
+    #define EXTERN_C
+#endif
+
+
 #endif
\ No newline at end of file