/* $Header: /mit/crlcad/dxfcvt/RCS/config.h,v 1.0 90/11/07 14:14:13
 * phils Exp Locker: phils $ */

/* define the configuration of the converter program */
#ifndef _DXFCONFIG              /* only once */

/* if your machine is running UNIX */
#ifndef UNIX
#define UNIX
#endif

#ifndef BSD
#define BSD
#endif

/* if your machine is running UNIX SYSTEM V */
/* #ifndef SYSV #define SYSV #endif */

/* if your machine is a IBM-PC running MS-DOS */
/* #ifndef MSDOS #define MSDOS #endif */

/* define some basic data types */
#define REG     register

#ifdef __STDC__
typedef void VOID;

#else
typedef int VOID;

#endif

typedef short INT16;
typedef double FLOAT64;

/* define some functions which are BSDness only */
#if defined(SYSV) || defined(MSDOS)
#define index(s,c)      strchr(s,c)
#define rindex(s,c)     strrchr(s,c)
#define bzero(d,c)      memset(d,0,c)
#define Bcopy(s,d,c)    memcpy(d,s,c)
#endif

/* define the granularity of the times(2) function if the machine is
 * running UNIX operating system. please see the "main.c" file for more
 * explanations about execute time accounting. */
#ifdef  UNIX
#ifdef  hpux
#define HERTZ 100               /* times(2) returns 1/100 second
                                 * (HP-UX) */
#else
#define HERTZ 60                /* times(2) returns 1/60 second (most) */
#endif
#endif

#define _DXFCONFIG
#endif
