]> rtime.felk.cvut.cz Git - ulut.git/commitdiff
Added UL_ATTR_REENTRANT attribute into defines for SDCC integration.
authorppisa <ppisa>
Mon, 10 Aug 2009 07:25:11 +0000 (07:25 +0000)
committerppisa <ppisa>
Mon, 10 Aug 2009 07:25:11 +0000 (07:25 +0000)
ulut/ul_utdefs.h

index 5c6526d92237f10bbcc92128588b4f739e7f08cc..38d08f87666e1aaf1b9ca51d8ceb98ffb6bd55ce 100644 (file)
@@ -95,6 +95,14 @@ extern "C" {
 #endif  /*UL_ATTR_UNUSED*/
 #endif /* !__GNUC__ */
 
+#ifndef UL_ATTR_REENTRANT
+#ifndef SDCC
+  #define UL_ATTR_REENTRANT
+#else
+  #define UL_ATTR_REENTRANT __reentrant
+#endif
+#endif /*UL_ATTR_REENTRANT*/
+
 #ifdef __cplusplus
 } /* extern "C"*/
 #endif