mirror of https://github.com/postgres/postgres
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:
parent
b819dd7cb5
commit
cd74a151b5
|
@ -53,6 +53,10 @@
|
|||
#define INT64_MAX INT64CONST(0x7FFFFFFFFFFFFFFF)
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Multi-platform pthread implementations
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue