Lagrange [work/v1.8]

Fixed build issue on Haiku OS

=> 3cf522dd3f578d04f8cba94e711611bcea29855a

diff --git a/src/prefs.c b/src/prefs.c
index 6164ca25..13a1dab7 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -25,8 +25,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
 #include 
 #include 
 
-static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]),
-              "memory layout mismatch (needs struct packing?)");
+_Static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]),
+               "memory layout mismatch (needs struct packing?)");
 
 void init_Prefs(iPrefs *d) {
     iForIndices(i, d->strings) {
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/cdiff/3cf522dd3f578d04f8cba94e711611bcea29855a
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
55.163184 milliseconds
Gemini-to-HTML Time
0.171776 milliseconds

This content has been proxied by September (ba2dc).