aboutsummaryrefslogtreecommitdiffstats
path: root/stdinc.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdinc.h')
-rw-r--r--stdinc.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/stdinc.h b/stdinc.h
new file mode 100644
index 0000000..70d2fe3
--- /dev/null
+++ b/stdinc.h
@@ -0,0 +1,45 @@
+/* stdinc.h */
+/*****************************************************************************/
+/* AS-Portierung */
+/* */
+/* globaler Einzug immer benoetigter includes */
+/* */
+/* Historie: 21. 5.1996 min/max */
+/* 11. 5.1997 DOS-Anpassungen */
+/* */
+/*****************************************************************************/
+
+#include <stdio.h>
+#ifndef __MUNIX__
+#include <stdlib.h>
+#endif
+#if !defined ( __MSDOS__ ) && !defined( __IBMC__ )
+#include <unistd.h>
+#endif
+#include <math.h>
+#include <errno.h>
+#include <sys/types.h>
+#ifdef __MSDOS__
+#include <alloc.h>
+#else
+#include <memory.h>
+#ifndef __FreeBSD__
+#include <malloc.h>
+#endif
+#endif
+
+#include "pascstyle.h"
+#include "datatypes.h"
+#include "chardefs.h"
+
+#ifndef min
+#define min(a,b) ((a<b)?(a):(b))
+#endif
+#ifndef max
+#define max(a,b) ((a>b)?(a):(b))
+#endif
+
+#ifndef M_PI
+#define M_PI 3.1415926535897932385E0
+#endif
+