diff options
| author | 2023-12-12 11:41:26 -0500 | |
|---|---|---|
| committer | 2023-12-12 11:41:26 -0500 | |
| commit | ff489bd82ff313bcfd7dc2ab585ed31cec909ebd (patch) | |
| tree | 300e031693a5ddb990a32068ab0596382349aeea /tcc/include/winapi/afxres.h | |
| parent | init (diff) | |
fix software to compile properly on Windows XP x86
Diffstat (limited to 'tcc/include/winapi/afxres.h')
| -rw-r--r-- | tcc/include/winapi/afxres.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tcc/include/winapi/afxres.h b/tcc/include/winapi/afxres.h new file mode 100644 index 0000000..91e7f49 --- /dev/null +++ b/tcc/include/winapi/afxres.h @@ -0,0 +1,23 @@ +#ifndef _AFXRES_H +#define _AFXRES_H +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _WINDOWS_H +#include <windows.h> +#endif + +/* IDC_STATIC is documented in winuser.h, but not defined. */ +#ifndef IDC_STATIC +#define IDC_STATIC (-1) +#endif + +#ifdef __cplusplus +} +#endif +#endif |
