aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/win/StreamConvert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/base/platform/win/StreamConvert.h')
-rw-r--r--include/cru/base/platform/win/StreamConvert.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/base/platform/win/StreamConvert.h b/include/cru/base/platform/win/StreamConvert.h
index 17552c31..085e94e6 100644
--- a/include/cru/base/platform/win/StreamConvert.h
+++ b/include/cru/base/platform/win/StreamConvert.h
@@ -1,6 +1,8 @@
#pragma once
-#ifdef CRU_PLATFORM_WINDOWS
+#ifndef _WIN32
+#error "This file can only be included on Windows."
+#endif
#include "../../io/Stream.h"
@@ -9,5 +11,3 @@
namespace cru::platform::win {
CRU_BASE_API IStream* ConvertStreamToComStream(io::Stream* stream);
}
-
-#endif