From 268fe97b9555aeee769e6bed36b10ccd3c8a10e8 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 30 Apr 2017 22:05:28 +0000 Subject: Upgrade to _XOPEN_SOURCE 500 to get M_PI git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2971 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/specialty/pnmmercator.c | 2 +- editor/specialty/ppmglobe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/specialty') diff --git a/editor/specialty/pnmmercator.c b/editor/specialty/pnmmercator.c index cd9ff19b..81f7f148 100644 --- a/editor/specialty/pnmmercator.c +++ b/editor/specialty/pnmmercator.c @@ -16,7 +16,7 @@ ** */ -#define _XOPEN_SOURCE /* Make sure M_PI is in */ +#define _XOPEN_SOURCE 500 /* get M_PI in math.h */ #include #include diff --git a/editor/specialty/ppmglobe.c b/editor/specialty/ppmglobe.c index 92e22746..bb043cc6 100644 --- a/editor/specialty/ppmglobe.c +++ b/editor/specialty/ppmglobe.c @@ -9,7 +9,7 @@ */ -#define _XOPEN_SOURCE /* get M_PI in math.h */ +#define _XOPEN_SOURCE 500 /* get M_PI in math.h */ #include #include #include -- cgit 1.4.1