Skip to content
Snippets Groups Projects
Commit 89729b47 authored by Mathieu Westphal's avatar Mathieu Westphal
Browse files

Windows: Add _USE_MATH_DEFINES for M_PI

parent b6f554d9
No related branches found
No related tags found
1 merge request!135Windows support
......@@ -14,6 +14,9 @@
#include <stdlib.h>
#include <stdbool.h>
#include <float.h>
// Required on windows to be able to use M_PI
#define _USE_MATH_DEFINES
#include <math.h>
#ifndef M_SQRT2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment