1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 7 #ifndef _INC_OSCALLS 8 #define _INC_OSCALLS 9 10 #ifndef _CRTBLD 11 #error ERROR: Use of C runtime library internal header file. 12 #endif 13 14 #include <crtdefs.h> 15 16 #ifdef NULL 17 #undef NULL 18 #endif 19 20 #define NOMINMAX 21 22 #define _WIN32_FUSION 0x0100 23 #include <windows.h> 24 25 #ifndef NULL 26 #ifdef __cplusplus 27 #define NULL 0 28 #else 29 #define NULL ((void *)0) 30 #endif 31 #endif 32 33 #ifdef _MSC_VER 34 #pragma warning(push) 35 #pragma warning(disable:4214) 36 #endif 37 38 typedef struct _FTIME 39 { 40 unsigned short twosecs : 5; 41 unsigned short minutes : 6; 42 unsigned short hours : 5; 43 } FTIME; 44 45 typedef FTIME *PFTIME; 46 47 typedef struct _FDATE 48 { 49 unsigned short day : 5; 50 unsigned short month : 4; 51 unsigned short year : 7; 52 } FDATE; 53 54 #ifdef _MSC_VER 55 #pragma warning(pop) 56 #endif 57 58 typedef FDATE *PFDATE; 59 60 #endif 61