From e4e41a30b425738fb26223e7a893732fd09864d9 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 6 Oct 2018 07:25:39 +0200 Subject: [PATCH] core: Resurrect MES_MINI for non-POSIX. src/mes.c[MES_MINI,!POSIX]: Resurrect. --- module/mes/mes-0.scm | 2 +- src/mes.c | 157 ++++++++++++++++++------------------------- 2 files changed, 66 insertions(+), 93 deletions(-) diff --git a/module/mes/mes-0.scm b/module/mes/mes-0.scm index f5635545..2833b2a4 100644 --- a/module/mes/mes-0.scm +++ b/module/mes/mes-0.scm @@ -48,4 +48,4 @@ (define EOF (if #f #f)) (define append2 append) (define %arch (car (string-split %host-type #\-))) -(define %compiler "gcc") +(define %compiler "gnuc") diff --git a/src/mes.c b/src/mes.c index 64c380d6..23146ae6 100644 --- a/src/mes.c +++ b/src/mes.c @@ -1888,11 +1888,6 @@ g_cells[cell_symbol_arch] = scm_symbol_arch; g_free++; g_cells[cell_test] = scm_test; -//////////// - - - - #elif !_POSIX_SOURCE #include "mes.mes.symbols.i" @@ -1900,6 +1895,7 @@ g_cells[cell_test] = scm_test; #include "mes.symbols.i" #endif + g_symbol_max = g_free++; g_symbols = 0; for (int i=1; i