Listing 1 (environ.h)

/*************************
File: ENVIRON.H
Created
By:       Russell Cook
*************************/


#ifndef _ENVIRON_H_
#define _ENVIRON_H_


#ifndef BOOL
#  define BOOL unsigned char
#endif


#ifndef TRUE
#  define FALSE    (BOOL)0
#  define TRUE     (BOOL)FALSE
#endif


#ifndef VOID
#  define VOID char
#endif


define MSC51_ENV
  /* using Microsoft C 5.1
     compiler */
/* #define TURBOC_ENV
  /* using Borland Turbo C
     version 2.0 */
/* #define SCOUNIX_ENV
  /* using Santa Cruz Op's Unix */


/% #define MIXED_MODEL
  /* using both near
     and far pointers */
  /* NOTE: Shouldn't be used
     w/LARGE model */


#ifdef MIXED_MODEL
#  define FARFNCT  far pascal
#  define NEARFNCT near pascal
#  define FAR      far
#  define NEAR     near
#else
#  define FARFNCT
#  define NEARFNCT
#  define FAR
# define  NEAR
#endif


#endif /* _ENVIRON_H_ */