dect
/
asl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asl/stdinc.h

46 lines
1.3 KiB
C

/* 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