BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / commit / 03048a95d88cc7a78171393371f5c22a0250a014 / include / setjmp.h

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)
diff --git a/include/setjmp.h b/include/setjmp.h
new file mode 100644
index 0000000..ded0ecd
--- /dev/null
+++ b/include/setjmp.h
@@ -0,0 +1,19 @@
+#ifndef _SETJMP_H
+#define _SETJMP_H
+
+#include <signal.h>
+
+#define setjmp __builtin_setjmp
+#define longjmp __builtin_longjmp
+
+typedef int __jmp_buf[6];
+
+struct __jmp_buf_tag {
+	__jmp_buf __jmpbuf;
+	int __saved;
+	__sigset_t __mask;
+};
+
+typedef struct __jmp_buf_tag jmp_buf[1];
+
+#endif