2025-04-27 07:49:33 -04:00

61 lines
1.1 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//
// MODULE : STDEFS.H
// PURPOSE : Common typedefs
// AUTHOR : JBS Yadawa
// CREATED : 7/20/96
//
//
// Copyright (C) 1996 SGS-THOMSON Microelectronics
//
//
// REVISION HISTORY :
//
// DATE :
//
// COMMENTS :
//
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
#ifndef __STDEFS_H
#define __STDEFS_H
#define NEARAPI
#define FARAPI
#define Trace 0
//typedef BOOLEAN BOOL;
typedef ULONG DWORD;
typedef USHORT WORD;
//typedef USHORT UINT;
typedef UCHAR BYTE;
typedef PUCHAR LPBYTE;
typedef PUSHORT LPWORD;
typedef PULONG LPDWORD;
//#define FAR
//#define NEAR
#define FARPTR
#if DEBUG
#define TRAP DEBUG_BREAKPOINT();
#else
#define TRAP
#define DbgPrint //
#endif
#define INPUT 0x01
#define OUTPUT 0x00
#define ON 0x01
#define OFF 0x00
#define DIR(x, y) ((y) << (x))
#define TURN(x, y) ((y) << (x))
#define SETVAL(x, y) ((y) << (x))
#define DPF(x)
#define PACK_HEADER_SIZE 14
#endif // #ifndef __STDEFS_H