* src/threads/thread.c: Moved to .cpp.
[cacao.git] / src / native / llni.h
index 65e708685bd69a83c88cc14ccc77e757b50681a1..85162111def807b3945e0942988175b1e2543230 100644 (file)
 #ifndef _LLNI_H
 #define _LLNI_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "config.h"
 
 /* forward defines ************************************************************/
@@ -53,7 +57,7 @@
 
 #include "native/localref.h"
 
-#include "threads/thread.h"
+#include "threads/thread.hpp"
 
 
 /* LLNI macros *****************************************************************
@@ -186,6 +190,9 @@ void llni_critical_end();
 void llni_critical_start_thread(threadobject *t);
 void llni_critical_end_thread(threadobject *t);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* _LLNI_H */