diff --git a/deps/ox/src/ox/std/iterator.hpp b/deps/ox/src/ox/std/iterator.hpp index 724a28f1a..3504f9509 100644 --- a/deps/ox/src/ox/std/iterator.hpp +++ b/deps/ox/src/ox/std/iterator.hpp @@ -8,7 +8,7 @@ #pragma once -#ifndef OX_USE_STDLIB +#if !__has_include() #include "stddef.hpp" namespace std { diff --git a/deps/ox/src/ox/std/stddef.hpp b/deps/ox/src/ox/std/stddef.hpp index 49d517f77..3f96954fe 100644 --- a/deps/ox/src/ox/std/stddef.hpp +++ b/deps/ox/src/ox/std/stddef.hpp @@ -10,7 +10,7 @@ #include "types.hpp" -#ifdef OX_USE_STDLIB +#if __has_include() #include #else #define offsetof(type, member) __builtin_offsetof(type, member)