projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b819dd7
)
Windows doesn't have M_PI; define it ourselves when needed.
author
Heikki Linnakangas
Mon, 4 Aug 2014 15:06:34 +0000
(18:06 +0300)
committer
Heikki Linnakangas
Mon, 4 Aug 2014 15:06:34 +0000
(18:06 +0300)
This should fix the Windows build, broken by commit
ed802e7d
.
contrib/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgbench/pgbench.c
b/contrib/pgbench/pgbench.c
index ad55c3cc030bd255746f54526cc37d4c0729e67e..c0e5e24fff46184662e08e2b1c6334aa182b4499 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-53,6
+53,10
@@
#define INT64_MAX INT64CONST(0x7FFFFFFFFFFFFFFF)
#endif
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
/*
* Multi-platform pthread implementations
*/