// porting.h: make the CSC 270 simulation example portable
// -- J. Clarke, June 1996

// Written in a hopeless attempt to reduce the work involved in
// getting this example working on different systems. So far,
// these are the environments I hope to make easy: GNU g++ on
// Unix, Turbo C++ on DOS-Windows.

// Problems encountered so far:
//
// 1. Turbo C++ doesn't define bool, true and false, even though the
//    the documentation describes it.

// Notes added January 1999:
//
// Many compilers #define some special constant, so you may not need to
// make up your own (such as "TURBO"). I no longer have Turbo C++, so
// I can't check that particular case.

#ifdef TURBO
#ifndef true
typedef int bool;
#define true 1
#define false 0
#endif
#endif
