emu48-mirror/Sources/GCCPatch/PCH.H

48 lines
998 B
C
Raw Normal View History

2024-03-19 22:37:03 +01:00
//
// PCH.H (MinGW version)
//
2024-03-19 22:37:54 +01:00
#define _WIN32_IE 0x0200
2024-03-19 22:37:03 +01:00
#include <windows.h>
#include <tchar.h>
#include <shellapi.h>
#include <commctrl.h>
2024-03-19 22:38:33 +01:00
#include <shlobj.h>
2024-03-19 22:37:03 +01:00
#include <stdlib.h>
#include <malloc.h>
#include <stddef.h>
2024-03-19 22:37:54 +01:00
#include <ctype.h>
2024-03-19 22:37:03 +01:00
#include <stdio.h>
#include <direct.h>
#include <conio.h>
2024-03-19 22:38:33 +01:00
// #include <crtdbg.h> // missing file
2024-03-19 22:37:03 +01:00
2024-03-19 22:38:33 +01:00
#if !defined IDC_HAND // Win2k specific definition
#define IDC_HAND MAKEINTRESOURCE(32649)
2024-03-19 22:37:03 +01:00
#endif
#define __unaligned
// normally defined in STDLIB.H
#if !defined __max
#define __max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#if !defined __min
#define __min(a,b) (((a) < (b)) ? (a) : (b))
#endif
// normally defined in missing CRTDBG.H
2024-03-19 22:38:33 +01:00
#if !defined _ASSERT
#define _ASSERT(a)
2024-03-19 22:37:03 +01:00
#endif
#define _CrtSetDbgFlag(f)
#if !defined VERIFY
#if defined _DEBUG
#define VERIFY(f) _ASSERT(f)
#else // _DEBUG
#define VERIFY(f) ((VOID)(f))
#endif // _DEBUG
#endif // VERIFY