
/***************************************************************************
**
**    $Header:   D:/EP196/SRC/LOG/SYMSVR/SYMBSCTY.H__   1.0   15 Aug 1997 14:04:22   ZJRD  $
**
**    $Log:   D:/EP196/SRC/LOG/SYMSVR/SYMBSCTY.H__  $
** 
**    Rev 1.0   15 Aug 1997 14:04:22   ZJRD
** Initial revision.
** 
****************************************************************************/

/****************************************************************************
**
**  Name:  basictyp.h
**
**  Description:
**     Primary type declarations for tbird project.
**     NOTE:  This should not be included explicitly, but either by way
**            of basetype.h or basewind.h!
**
**  $Log$
**  
**  $Header:   D:/EP196/SRC/LOG/SYMSVR/SYMBSCTY.H__   1.0   15 Aug 1997 14:04:22   ZJRD  $
**
**  Copyright (C) 1995 Microtek International.  All rights reserved.
**
*****************************************************************************/
#ifndef _BASICTYP_
                       /****************************
                        *                          *
                        *       INCLUDE FILES      *
                        *                          *
                        ****************************/

/* none */
                       /****************************
                        *                          *
                        *        DEFINITIONS       *
                        *                          *
                        ****************************/

/* basic definitions */
#ifndef NULL
#define NULL 0
#endif

#ifndef FALSE
#define FALSE 0
#endif

#ifdef TRUE
#undef TRUE
#endif
#define TRUE (!FALSE)

#define YES TRUE
#define NO  FALSE

#define ON  TRUE
#define OFF FALSE

#define SUCCESS 0

#define GOOD SUCCESS

#define FAILURE -1

/* string definitions */
#define MAX_STRING_SIZE 256
#define MAX_PATH_SIZE   128

/* Microsoft-style keywords */
//#define CDECL cdecl
#define FORTRAN fortran
#define HUGE huge
//#define PASCAL pascal

//#define EXPORT FAR PASCAL _export
#define FAR_HANDLE VOID
#define VARIABLE_SIZED 1    /* used for defining varible length arrays */

#define STATIC static
#define PRIVATE STATIC

#define CHECK_ABORT() GetAsyncKeyState(VK_ESCAPE)

/* primary typedef's */
#define CHAR char
typedef unsigned CHAR  U8;
typedef CHAR  S8;
typedef unsigned short U16;
typedef signed   short S16;
typedef unsigned long  U32;
typedef signed   long  S32;
typedef signed   int   LOOP_VAR;  /* used only as a loop index */

/* secondary typedef's */
typedef U8 BOOLEAN;
typedef unsigned CHAR * STRING;
typedef U32 RETCODE;
typedef U8  FAR  *LPU8;  /* far pointer to unsigned byte */
typedef U16 FAR  *LPU16;
typedef U32 FAR  *LPU32;

typedef float FLOAT;
typedef double DOUBLE;
typedef FLOAT FAR *LPFLOAT;
typedef DOUBLE FAR *LPDOUBLE;

                       /****************************
                        *                          *
                        *        PROTOTYPES        *
                        *                          *
                        ****************************/

/* none */

#define _BASICTYP_
#endif
/******************************** E O F ***********************************/
