diff options
| author | Tom Lane | 2023-01-08 21:25:25 +0000 |
|---|---|---|
| committer | Tom Lane | 2023-01-08 21:25:33 +0000 |
| commit | 5687e7810f1dd32ac1960e67b608c441d87bc229 (patch) | |
| tree | bd3bf40bca4bf0f09d83869b6aaf564b6a873aae /src/bin | |
| parent | cd9479af2af25d7fa9bfd24dd4dcf976b360f077 (diff) | |
Doc: improve commentary about providing our own definitions of M_PI.
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/pgbench/pgbench.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 820b1ea09f5..18d9c94ebd3 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -68,6 +68,7 @@ #include "port/pg_bitutils.h" #include "portability/instr_time.h" +/* X/Open (XSI) requires <math.h> to provide M_PI, but core POSIX does not */ #ifndef M_PI #define M_PI 3.14159265358979323846 #endif |
