Atlas - STDDEF.H
Home / ext / JunkDrawer / DOS / BuildTools / v4.0 / BLD / INC Lines: 1 | Size: 1052 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1/*** 2*stddef.h - definitions/declarations for common constants, types, variables 3* 4* Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved. 5* 6*Purpose: 7* This file contains definitions and declarations for some commonly 8* used constants, types, and variables. 9* [ANSI] 10* 11*******************************************************************************/ 12 13 14#ifndef NO_EXT_KEYS /* extensions enabled */ 15 #define _CDECL cdecl 16 #define _NEAR near 17#else /* extensions not enabled */ 18 #define _CDECL 19 #define _NEAR 20#endif /* NO_EXT_KEYS */ 21 22 23/* define NULL pointer value */ 24 25#if (defined(M_I86SM) || defined(M_I86MM)) 26#define NULL 0 27#elif (defined(M_I86CM) || defined(M_I86LM) || defined(M_I86HM)) 28#define NULL 0L 29#endif 30 31 32/* declare reference to errno */ 33 34extern int _NEAR _CDECL errno; 35 36 37/* define the implementation dependent size types */ 38 39#ifndef _PTRDIFF_T_DEFINED 40typedef int ptrdiff_t; 41#define _PTRDIFF_T_DEFINED 42#endif 43 44#ifndef _SIZE_T_DEFINED 45typedef unsigned int size_t; 46#define _SIZE_T_DEFINED 47#endif 48 49[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.