Oops, M_PI is POSIX so it isn't defined in math.h on Windows

This commit is contained in:
dongresource 2020-12-06 05:49:08 +01:00
parent 8ebabac7c0
commit 27f396af7e
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#define M_PI 3.14159265358979323846
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <winsock2.h>
#include <windows.h>