void-packages/srcpkgs/go/patches/no-longjmp-redefine.patch

13 lines
282 B
Diff
Raw Normal View History

2015-05-08 09:34:06 +00:00
--- include/libc.h.orig
+++ include/libc.h
@@ -102,7 +102,10 @@ extern void sysfatal(char*, ...);
#define atoll p9atoll
#define getenv p9getenv
#define getwd p9getwd
+#ifdef longjmp
+#undef longjmp
+#endif
#define longjmp p9longjmp
#undef setjmp
#define setjmp p9setjmp