projects
/
mes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mescc: Support regular C99 compile, headers + mlibc.
[mes.git]
/
scaffold
/
micro-mes.c
diff --git
a/scaffold/micro-mes.c
b/scaffold/micro-mes.c
index 8cafd8dcf2d768245edb9668b3cd9d54ec74d4c8..a057f0f5440178f6e4fbe179731e5785bd1b2db5 100644
(file)
--- a/
scaffold/micro-mes.c
+++ b/
scaffold/micro-mes.c
@@
-22,15
+22,7
@@
#error "POSIX not supported"
#endif
#error "POSIX not supported"
#endif
-#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 <mlibc.h>
typedef int SCM;
typedef int SCM;
@@
-79,7
+71,3
@@
main (int argc, char *argv[])
int i = argc;
return i;
}
int i = argc;
return i;
}
-
-#if !__MESC__
-#include "mstart.c"
-#endif