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]
/
src
/
mes.c
diff --git
a/src/mes.c
b/src/mes.c
index 266d2ff4ce62efa16c0059327f5d6e666fd66c20..c2801512bebae602eaa4103ea4d6a1bf99a8db9a 100644
(file)
--- a/
src/mes.c
+++ b/
src/mes.c
@@
-18,15
+18,11
@@
* along with Mes. If not, see <http://www.gnu.org/licenses/>.
*/
* along with Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#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 <stdio.h>
+#include <assert.h>
+#include <stdlib.h>
+#include <string.h>
+#include <mlibc.h>
int ARENA_SIZE = 100000;
int MAX_ARENA_SIZE = 20000000;
int ARENA_SIZE = 100000;
int MAX_ARENA_SIZE = 20000000;
@@
-1376,7
+1372,3
@@
main (int argc, char *argv[])
}
return 0;
}
}
return 0;
}
-
-#if !_POSIX_SOURCE && !__MESC__
-#include "mstart.c"
-#endif