include cmath header for definition of M_PI

This commit is contained in:
wmayer
2018-12-17 10:04:10 +01:00
parent 046e8e0444
commit c3cfd83f6c

View File

@@ -28,6 +28,8 @@
# include <QWidget>
# ifdef FC_OS_WIN32
# include <Windows.h>
# define _USE_MATH_DEFINES
# include <cmath>
# endif
# include <cassert>
#endif