#pragma once
//------------------------------------------------------------------------------
/**
    @file core/posix/precompiled.h
    
    Standard includes for POSIX platforms. 
    NOTE: keep as many headers out of here as possible, at least
    on compilers which don't have pre-compiled-headers turned on.
*/

// this is a workaround when using clang with the GNU std lib,
// this fails without __STRICT_ANSI__ because clang doesn't
// know the __float128 type
#if __clang__ && ORYOL_LINUX && !defined __STRICT_ANSI__
#define __STRICT_ANSI__
#endif
#include <cstddef>

#pragma once
//------------------------------------------------------------------------------
/**
    @file core/posix/precompiled.h
    
    Standard includes for POSIX platforms. 
    NOTE: keep as many headers out of here as possible, at least
    on compilers which don't have pre-compiled-headers turned on.
*/
#ifdef __STRICT_ANSI__
#undef __STRICT_ANSI__
#endif

#include <cstddef>

--- 
+++ 
@@ -7,8 +7,11 @@
     NOTE: keep as many headers out of here as possible, at least
     on compilers which don't have pre-compiled-headers turned on.
 */
-#ifdef __STRICT_ANSI__
-#undef __STRICT_ANSI__
+
+// this is a workaround when using clang with the GNU std lib,
+// this fails without __STRICT_ANSI__ because clang doesn't
+// know the __float128 type
+#if __clang__ && ORYOL_LINUX && !defined __STRICT_ANSI__
+#define __STRICT_ANSI__
 #endif
-
 #include <cstddef>
Fix for compile error on Linux when using clang with GNU std c++ lib (__STRICT_ANSI__ is required)
