From d15204758f86e0a19f505cd521136f24be5b924f Mon Sep 17 00:00:00 2001 From: Dmitry Grigoryev Date: Sat, 2 Jan 2021 00:50:27 +0100 Subject: [PATCH] avoid conflict with quad precision types --- Aquaria/ScriptInterface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Aquaria/ScriptInterface.cpp b/Aquaria/ScriptInterface.cpp index 3338cdc..9e2eddf 100644 --- a/Aquaria/ScriptInterface.cpp +++ b/Aquaria/ScriptInterface.cpp @@ -1,4 +1,4 @@ -#/* +/* Copyright (C) 2007, 2010 - Bit-Blot This file is part of Aquaria. @@ -42,6 +42,8 @@ extern "C" #include "../BBGE/MathFunctions.h" +#undef quad // avoid conflict with quad precision types + // Define this to 1 to check types of pointers passed to functions, // and warn if a type mismatch is detected. In this case, // the pointer is treated as NULL, to avoid crashing or undefined behavior.