diff --git a/deps/ox/src/ox/std/iterator.hpp b/deps/ox/src/ox/std/iterator.hpp index 724a28f1..3504f950 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 49d517f7..3f96954f 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)