mirror of
https://github.com/id-Software/Quake-III-Arena.git
synced 2026-03-20 09:00:05 +01:00
The Quake III Arena sources as originally released under the GPL license on August 20, 2005.
This commit is contained in:
22
lcc/include/sparc/solaris/stddef.h
Normal file
22
lcc/include/sparc/solaris/stddef.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef __STDDEF
|
||||
#define __STDDEF
|
||||
|
||||
|
||||
#define NULL 0
|
||||
#define offsetof(ty,mem) ((size_t)((char*)&((ty*)0)->mem - (char*)0))
|
||||
|
||||
typedef long ptrdiff_t;
|
||||
|
||||
#if !defined(_SIZE_T) && !defined(_SIZE_T_)
|
||||
#define _SIZE_T
|
||||
#define _SIZE_T_
|
||||
typedef unsigned long size_t;
|
||||
#endif
|
||||
|
||||
#if !defined(_WCHAR_T) && !defined(_WCHAR_T_)
|
||||
#define _WCHAR_T
|
||||
#define _WCHAR_T_
|
||||
typedef unsigned short wchar_t;
|
||||
#endif
|
||||
|
||||
#endif /* __STDDEF */
|
||||
Reference in New Issue
Block a user