diff --git a/include/foonathan/memory/config.hpp b/include/foonathan/memory/config.hpp index 233caf6..25fe81f 100644 --- a/include/foonathan/memory/config.hpp +++ b/include/foonathan/memory/config.hpp @@ -35,7 +35,7 @@ // hosted implementation #ifndef FOONATHAN_HOSTED_IMPLEMENTATION -#if !_MSC_VER && !__STDC_HOSTED__ +#if !defined(_MSC_VER) && !defined(__STDC_HOSTED__) #define FOONATHAN_HOSTED_IMPLEMENTATION 0 #else #define FOONATHAN_HOSTED_IMPLEMENTATION 1