shithub: femtolisp

Download patch

ref: 541946a4b943e6ac3054db05a0c7e3e7729f29f5
parent: 176253d3aeab23f81935da43799cbd9895ca7436
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Nov 12 18:48:52 EST 2024

move COMPUTED_GOTO define to meson.build

--- a/meson.build
+++ b/meson.build
@@ -21,6 +21,7 @@
 	'-Wno-parentheses',
 	'-Wno-overlength-strings',
 	'-D_DEFAULT_SOURCE',
+	'-DCOMPUTED_GOTO',
 	language: 'c',
 )
 
--- a/posix/platform.h
+++ b/posix/platform.h
@@ -25,8 +25,6 @@
 #include <wctype.h>
 #include <wchar.h>
 
-#define COMPUTED_GOTO
-
 #define LLT_ALLOC(n) malloc(n)
 #define LLT_REALLOC(p, n) realloc((p), (n))
 #define LLT_FREE(x) free(x)