diff options
Diffstat (limited to 'include/cru/base/platform/win/ComAutoInit.h')
| -rw-r--r-- | include/cru/base/platform/win/ComAutoInit.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/cru/base/platform/win/ComAutoInit.h b/include/cru/base/platform/win/ComAutoInit.h index cef819a5..524cd026 100644 --- a/include/cru/base/platform/win/ComAutoInit.h +++ b/include/cru/base/platform/win/ComAutoInit.h @@ -1,9 +1,10 @@ #pragma once -#ifdef CRU_PLATFORM_WINDOWS +#ifndef _WIN32 +#error "This file can only be included on Windows." +#endif -#include "WinPreConfig.h" -#include "cru/base/Base.h" +#include "Base.h" namespace cru::platform::win { class CRU_BASE_API ComAutoInit { @@ -16,5 +17,3 @@ class CRU_BASE_API ComAutoInit { ~ComAutoInit(); }; } // namespace cru::platform::win - -#endif |
