X-Git-Url: https://jxself.org/git/?p=mes.git;a=blobdiff_plain;f=src%2Fmes.c;h=c2801512bebae602eaa4103ea4d6a1bf99a8db9a;hp=266d2ff4ce62efa16c0059327f5d6e666fd66c20;hb=fe727301c573d9e2f13fcf2639bbea4052e12c54;hpb=d9780e66cde275f7072f45782add00f9df98aee6 diff --git a/src/mes.c b/src/mes.c index 266d2ff4..c2801512 100644 --- a/src/mes.c +++ b/src/mes.c @@ -18,15 +18,11 @@ * along with Mes. If not, see . */ -#if __MESC__ -char **g_environment; -int g_stdin = 0; -#define assert(x) ((x) ? (void)0 : assert_fail (#x)) -#endif - -#if !__MESC__ -#include "mlibc.c" -#endif +#include +#include +#include +#include +#include int ARENA_SIZE = 100000; int MAX_ARENA_SIZE = 20000000; @@ -1376,7 +1372,3 @@ main (int argc, char *argv[]) } return 0; } - -#if !_POSIX_SOURCE && !__MESC__ -#include "mstart.c" -#endif