#1377: GRHydro_Bondi.c and GRHydro_BondiM.c use M_PI ------------------------------------+--------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro M_PI ------------------------------------+---------------------------------------
Comment (by rhaas):
Instead of adding M_PI to out source files, we tend to make to get the BSD (or GNU which includes them) extensions which define M_PI. The required define tends to be -D_BSD_SOURCE . Can you try this?