diff options
| author | Pietro Gagliardi <[email protected]> | 2014-11-06 10:43:21 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-11-06 10:43:21 -0500 |
| commit | 93f99b3bee5a7aa1b2c50a60c1cd8725250ff4d9 (patch) | |
| tree | 693976b9992946a4bfb00edfaa094595a8adf5b2 | |
| parent | e7a5c4bface511a67a11307a39e3015feee1a8ea (diff) | |
Let us end the scourge of vanilla MinGW once and for all
| -rw-r--r-- | winapi_windows.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winapi_windows.h b/winapi_windows.h index f228d2e..9759cbb 100644 --- a/winapi_windows.h +++ b/winapi_windows.h @@ -25,6 +25,11 @@ #include <vssym32.h> #include <stdarg.h> +// if by some stroke of luck Go ever supports compiling with MSVC, this will need to change +#ifndef __MINGW64_VERSION_MAJOR +#error Sorry, you must use MinGW-w64 (http://mingw-w64.sourceforge.net/) to build package ui, as vanilla MinGW does not support Windows XP features (in 2014!). +#endif + // global messages unique to everything enum { msgRequest = WM_APP + 1, // + 1 just to be safe |
