1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 05:40:17 +05:30

C: jokes/brexit.c: fix the Windows issue

This commit is contained in:
Intel A80486DX2-66 2024-02-04 12:36:24 +03:00
parent 5557621438
commit d25a4aa7f3
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -1,13 +1,15 @@
/*
* brexit.c
*
* Issues:
* - fix SIGSEGV on Microsoft Windows
*
* Author: Intel A80486DX2-66
* License: Creative Commons Zero 1.0 Universal
*/
#if !(defined(unix) || defined(__unix) || defined(__unix__) || \
defined(__APPLE__) || defined(__MACH__))
# error "The architecture isn't supported for the joke :-)"
#endif
void Brexit(void) __attribute__((noreturn));
__attribute__((noreturn))