We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2511420 commit 59610ebCopy full SHA for 59610eb
Zend/zend_portability.h
@@ -394,9 +394,15 @@ char *alloca();
394
# define XtOffsetOf(s_type, field) offsetof(s_type, field)
395
#endif
396
397
-#define SETJMP(a) sigsetjmp(a, 0)
398
-#define LONGJMP(a,b) siglongjmp(a, b)
399
-#define JMP_BUF sigjmp_buf
+#ifndef ZEND_WIN32
+# define SETJMP(a) sigsetjmp(a, 0)
+# define LONGJMP(a,b) siglongjmp(a, b)
400
+# define JMP_BUF sigjmp_buf
401
+#else
402
+# define SETJMP(a) setjmp(a)
403
+# define LONGJMP(a,b) longjmp(a, b)
404
+# define JMP_BUF jmp_buf
405
+#endif
406
407
#if ZEND_DEBUG
408
# define ZEND_FILE_LINE_D const char *__zend_filename, const uint32_t __zend_lineno
0 commit comments