Metropoli BBS
VIEWER: stddef.h MODE: TEXT (ASCII)
#ifndef __STDDEF_H__
#define __STDDEF_H__

/* Below is different than from 16bit C typedefs */
typedef unsigned char byte;
typedef unsigned short int word;
typedef unsigned long int dword;

/* signed versions */
typedef signed char sbyte;
typedef signed short int sword;
typedef signed long int sdword;

#ifndef size_t
  typedef unsigned int size_t;
#endif

#ifndef NULL
  #define NULL 0
#endif

#ifndef ERROR
  #define ERROR 0xffffffff
#endif

//enable Watcom underscore appending
#ifdef __WATCOMC__
  #ifdef __cplusplus
    #pragma aux default "_*" parm caller [] \
        value struct float struct routine [eax] \
        modify [eax ebx ecx edx];
  #else
    #pragma aux default "_*";
  #endif
#endif
  
#endif

[ RETURN TO DIRECTORY ]