From d25a4aa7f3d9d8f74728f345306d643c132dfb44 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 4 Feb 2024 12:36:24 +0300 Subject: [PATCH] C: jokes/brexit.c: fix the Windows issue --- c-programming/jokes/brexit.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/c-programming/jokes/brexit.c b/c-programming/jokes/brexit.c index 4694d5c..8eacdc8 100644 --- a/c-programming/jokes/brexit.c +++ b/c-programming/jokes/brexit.c @@ -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))