bugfix: added #define _USE_MATH_DEFINES needed for msvc to use M_PI, M_LN2...

This commit is contained in:
jkriege2 2022-07-21 12:06:22 +02:00
parent 79b5b2693f
commit 8b6e420c56
3 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@
You should have received a copy of the GNU Lesser General Public License (LGPL)
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _USE_MATH_DEFINES
#include <QColor>

View File

@ -24,8 +24,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _USE_MATH_DEFINES
#include "jkqtcommon/jkqtpcodestructuring.h"
#include "jkqtcommon/jkqtpstringtools.h"

View File

@ -23,6 +23,7 @@
You should have received a copy of the GNU Lesser General Public License (LGPL)
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _USE_MATH_DEFINES
#include "jkqtcommon/jkqtpbasicimagetools.h"
#include "jkqtcommon/jkqtpcodestructuring.h"