#pragma once
// Define math constants for Visual Studio https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants
#if defined(_MSC_VER)
#define _USE_MATH_DEFINES
#endif
// Python headers must be included before any system headers, since
// they define _POSIX_C_SOURCE
#if defined(_WIN32) && defined(_DEBUG)
// Python.h will try to load the library debug version, but that is not installed by default.
#undef _DEBUG
#include
#define _DEBUG
#else
#include
#endif
#include
#include