Usermode/libc - C++ wrapping in headers, time rework
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / setjmp.h
index fe545af..5eb7bb5 100644 (file)
@@ -8,6 +8,10 @@
 #ifndef _LIBC_SETJMP_H_
 #define _LIBC_SETJMP_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #if defined(__i386__)
 typedef void   *jmp_buf[8];
 #elif defined(__amd64__)
@@ -19,5 +23,9 @@ typedef void  *jmp_buf[16];
 extern int     setjmp(jmp_buf buf);
 extern void    longjmp(jmp_buf buf, int val);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 

UCC git Repository :: git.ucc.asn.au