2
0
Эх сурвалжийг харах

Include defs in not cpp-section (#5466)

- closes https://github.com/assimp/assimp/issues/5428
Kim Kulling 1 жил өмнө
parent
commit
94bc568d13

+ 3 - 3
include/assimp/quaternion.h

@@ -2,7 +2,7 @@
 Open Asset Import Library (assimp)
 ----------------------------------------------------------------------
 
-Copyright (c) 2006-2022, assimp team
+Copyright (c) 2006-2024, assimp team
 
 All rights reserved.
 
@@ -45,14 +45,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_QUATERNION_H_INC
 #define AI_QUATERNION_H_INC
 
+#include <assimp/defs.h>
+
 #ifdef __cplusplus
 
 #ifdef __GNUC__
 #   pragma GCC system_header
 #endif
 
-#include <assimp/defs.h>
-
 // Forward declarations
 template <typename TReal> class aiVector3t;
 template <typename TReal> class aiMatrix3x3t;