2 *stddef.h - definitions/declarations for common constants, types, variables
4 * Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved.
7 * This file contains definitions and declarations for some commonly
8 * used constants, types, and variables.
11 *******************************************************************************/
14 #ifndef NO_EXT_KEYS /* extensions enabled */
17 #else /* extensions not enabled */
20 #endif /* NO_EXT_KEYS */
23 /* define NULL pointer value */
25 #if (defined(M_I86SM) || defined(M_I86MM))
27 #elif (defined(M_I86CM) || defined(M_I86LM) || defined(M_I86HM))
32 /* declare reference to errno */
34 extern int _NEAR _CDECL errno;
37 /* define the implementation dependent size types */
39 #ifndef _PTRDIFF_T_DEFINED
40 typedef int ptrdiff_t;
41 #define _PTRDIFF_T_DEFINED
44 #ifndef _SIZE_T_DEFINED
45 typedef unsigned int size_t;
46 #define _SIZE_T_DEFINED