mirror of
https://github.com/postgres/postgres.git
synced 2025-10-13 18:28:01 +03:00
Windows doesn't have M_PI; define it ourselves when needed.
This should fix the Windows build, broken by commit ed802e7d
.
This commit is contained in:
@@ -53,6 +53,10 @@
|
||||
#define INT64_MAX INT64CONST(0x7FFFFFFFFFFFFFFF)
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Multi-platform pthread implementations
|
||||
*/
|
||||
|
Reference in New Issue
Block a user