Mercurial > games > semicongine
comparison fuhtark_test/include/setjmpex.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 /** | |
| 2 * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 * This file is part of the w64 mingw-runtime package. | |
| 4 * No warranty is given; refer to the file DISCLAIMER within this package. | |
| 5 */ | |
| 6 #ifndef _INC_SETJMPEX | |
| 7 #define _INC_SETJMPEX | |
| 8 | |
| 9 #ifndef _WIN32 | |
| 10 #error Only Win32 target is supported! | |
| 11 #endif | |
| 12 | |
| 13 #if (defined(_X86_) && !defined(__x86_64)) | |
| 14 #define setjmp _setjmp | |
| 15 #define longjmp _longjmpex | |
| 16 #else | |
| 17 #ifdef setjmp | |
| 18 #undef setjmp | |
| 19 #endif | |
| 20 #define setjmp _setjmpex | |
| 21 #endif | |
| 22 | |
| 23 #include <setjmp.h> | |
| 24 #endif |
