mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Doc: improve commentary about providing our own definitions of M_PI.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user