diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-04-30 22:05:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-04-30 22:05:28 +0000 |
commit | 268fe97b9555aeee769e6bed36b10ccd3c8a10e8 (patch) | |
tree | 9f51a12b61659f26857aa70558f1d1b32d7cb2e2 /editor/specialty | |
parent | e6b5a4e33fac2cbd10969b64afa9d79887dfa754 (diff) | |
download | netpbm-mirror-268fe97b9555aeee769e6bed36b10ccd3c8a10e8.tar.gz netpbm-mirror-268fe97b9555aeee769e6bed36b10ccd3c8a10e8.tar.xz netpbm-mirror-268fe97b9555aeee769e6bed36b10ccd3c8a10e8.zip |
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
Diffstat (limited to 'editor/specialty')
-rw-r--r-- | editor/specialty/pnmmercator.c | 2 | ||||
-rw-r--r-- | editor/specialty/ppmglobe.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 <math.h> */ +#define _XOPEN_SOURCE 500 /* get M_PI in math.h */ #include <math.h> #include <string.h> 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 <stdio.h> #include <stdlib.h> #include <unistd.h> |