summaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
new file mode 100644
index 0000000..2b22f15
--- /dev/null
+++ b/src/defs.h
@@ -0,0 +1,42 @@
+#ifndef __MCPU_CPP_DEFS_H__
+#define __MCPU_CPP_DEFS_H__ 1
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <errno.h>
+#include <limits.h>
+#include <signal.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+
+#include <libmpuio.h>
+
+#define MCPU_CPP_LANG_STACK_SIZE 400
+#define MCPU_CPP_INCLUDE_STACK_SIZE 400
+#define MCPU_CPP_CONDITIONAL_STACK_SIZE 400
+
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
+#include <mcpp-text.h>
+#include <mcpp-config-file.h>
+#include <mcpp-runtime.h>
+#include <mcpp-language.h>
+#include <mcpp-include-path.h>
+#include <mcpp-lexer.h>
+#include <mcpp-macro.h>
+#include <mcpp-semantic.h>
+#include <mcpp-expression.h>
+#include <mcpp-predefined.h>
+#include <mcpp-source.h>
+#include <mcpp-options.h>
+#include <mcpp-diagnostic.h>
+#include <mcpp-lib.h>
+
+#endif /* __MCPU_CPP_DEFS_H__ */