1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the w64 mingw-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 #include <stdarg.h> 25 #include <windef.h> 26 #include <winbase.h> 27 #include <winuser.h> 28 29 #ifndef NULL 30 #ifdef __cplusplus 31 #define NULL 0 32 #else 33 #define NULL ((void *)0) 34 #endif 35 #endif 36 37 #ifdef _MSC_VER 38 #pragma warning(push) 39 #pragma warning(disable:4214) 40 #endif 41 42 typedef struct _FTIME 43 { 44 unsigned short twosecs : 5; 45 unsigned short minutes : 6; 46 unsigned short hours : 5; 47 } FTIME; 48 49 typedef FTIME *PFTIME; 50 51 typedef struct _FDATE 52 { 53 unsigned short day : 5; 54 unsigned short month : 4; 55 unsigned short year : 7; 56 } FDATE; 57 58 #ifdef _MSC_VER 59 #pragma warning(pop) 60 #endif 61 62 typedef FDATE *PFDATE; 63 64 #endif 65