1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Doc: improve commentary about providing our own definitions of M_PI.

This commit is contained in:
Tom Lane
2023-01-08 16:25:25 -05:00
parent cd9479af2a
commit 5687e7810f
3 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include "utils/geo_decls.h" /* for Point */
/* X/Open (XSI) requires <math.h> to provide M_PI, but core POSIX does not */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif