diff options
Diffstat (limited to 'include/cru/common/platform/osx/Exception.h')
-rw-r--r-- | include/cru/common/platform/osx/Exception.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/cru/common/platform/osx/Exception.h b/include/cru/common/platform/osx/Exception.h index 53e874e9..5ab14ebd 100644 --- a/include/cru/common/platform/osx/Exception.h +++ b/include/cru/common/platform/osx/Exception.h @@ -1,6 +1,9 @@ #pragma once #include "../../PreConfig.h" -#ifdef CRU_PLATFORM_OSX + +#ifndef CRU_PLATFORM_OSX +#error "This file can only be included on osx." +#endif #include "../Exception.h" @@ -10,5 +13,3 @@ class OsxException : public PlatformException { using PlatformException::PlatformException; }; } // namespace cru::platform::osx - -#endif |