mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-01-14 21:29:53 +00:00
36 lines
544 B
C
36 lines
544 B
C
|
/*
|
||
|
StdDef.h -- Common definitions
|
||
|
|
||
|
Copyright Apple Computer,Inc. 1987-1991
|
||
|
All rights reserved.
|
||
|
This file is used in these builds: ROM System
|
||
|
|
||
|
|
||
|
Change History (most recent first):
|
||
|
|
||
|
<4> 8/8/91 JL Updated copyright
|
||
|
|
||
|
To Do:
|
||
|
*/
|
||
|
|
||
|
#ifndef __STDDEF__
|
||
|
#define __STDDEF__
|
||
|
|
||
|
typedef int ptrdiff_t;
|
||
|
|
||
|
#ifndef __size_t__
|
||
|
#define __size_t__
|
||
|
typedef unsigned int size_t;
|
||
|
#endif
|
||
|
|
||
|
#ifndef __wchar_t__
|
||
|
#define __wchar_t__
|
||
|
typedef short wchar_t;
|
||
|
#endif
|
||
|
|
||
|
#define NULL 0
|
||
|
|
||
|
#define offsetof(structure,field) ((size_t)&((structure *) 0)->field)
|
||
|
|
||
|
#endif
|