home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
552.lha
/
DT_v1.12
/
Source
/
mlo.h
< prev
Wrap
C/C++ Source or Header
|
1991-09-08
|
2KB
|
52 lines
/*---------------------------------------*
| File: MLO.h - My personal definitions |
| MLO 880908 - Revised 910322 - v2.03 |
+---------------------------------------+---------------*
| This file avoids computer-dependent statements and has|
| been used with VAX-C, Borland Turbo-C on MS-DOS, and |
| Lattice C for AmigaDOS; it looks for the preprocessor |
| symbols predefined from these compilers (#ifdef VAXC, |
| __TURBOC__, AMIGA). It worked on MS-DOS with Aztec-C; |
| should still work there if none of the quoted symbols |
| is defined for the preprocessor, but was not tested. |
*-------------------------------------------------------*/
/*--------------------------*
| Program completion codes |
*--------------------------*/
#ifdef VAXC
#include <ssdef>
#define SYS_NORMAL_CODE SS$_NORMAL
#define SYS_ABORT_CODE SS$_ABORT
#else
#define SYS_NORMAL_CODE 0
#define SYS_ABORT_CODE 1
#endif
/*-------------------*
| Boolean variables |
*-------------------*/
#define False 0
#define True 1
typedef short int Boolean;
/*----------------------------------------------------*
| Miscellaneous definitions; the last one from the |
| include file "intuition.h" of AmigaDOS (Lattice C) |
*----------------------------------------------------*/
typedef unsigned char BYTE;
typedef unsigned long int ULONG;
typedef unsigned short int USHORT;
#define BLANK ' '
#define NEWLINE '\n'
#define NIHIL '\0'
#define TAB '\t'
#ifndef INTUITION_INTUITION_H
#define FOREVER for (;;)
#endif