bugfix in systemheader.hpp

Take into account also the TinyUtils project.
This commit is contained in:
silverqx
2023-09-06 17:25:24 +02:00
parent 95ff8720be
commit 5ed3c20912
+2 -1
View File
@@ -4,7 +4,8 @@
/* The system_header pragma is disabled if building the TinyORM library itself
as the shared library. */
#if !defined(TINYORM_PRAGMA_SYSTEM_HEADER_OFF) && !defined(TINYORM_BUILDING_SHARED)
#if !defined(TINYORM_PRAGMA_SYSTEM_HEADER_OFF) && \
(!defined(TINYORM_BUILDING_SHARED) || !defined(TINYUTILS_BUILDING_SHARED))
// Clang masquerades as GCC 4.2.0 so it has to be first
# ifdef __clang__
# define TINY_SYSTEM_HEADER _Pragma("clang system_header")