* src/mm/dumpmemory.c: Moved to .cpp.
[cacao.git] / src / threads / thread.hpp
index 463cd370a0075458e1a03cb904e314ee8ec68d7a..21dff9df65a891b5a289fe17b8af0d8a55718229 100644 (file)
 
 #include "config.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include "vm/types.h"
 
 // Include early to get threadobject.
@@ -96,6 +92,10 @@ extern bool threads_pthreads_implementation_nptl;
 #endif
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* inline functions ***********************************************************/
 
 /* thread_get_object ***********************************************************