about summary refs log tree commit diff
path: root/converter/ppm
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-04-30 22:05:28 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-04-30 22:05:28 +0000
commit268fe97b9555aeee769e6bed36b10ccd3c8a10e8 (patch)
tree9f51a12b61659f26857aa70558f1d1b32d7cb2e2 /converter/ppm
parente6b5a4e33fac2cbd10969b64afa9d79887dfa754 (diff)
downloadnetpbm-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 'converter/ppm')
-rw-r--r--converter/ppm/ppmtompeg/jrevdct.c2
-rw-r--r--converter/ppm/ppmtompeg/mfwddct.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/converter/ppm/ppmtompeg/jrevdct.c b/converter/ppm/ppmtompeg/jrevdct.c
index f7b32192..dd1f9fff 100644
--- a/converter/ppm/ppmtompeg/jrevdct.c
+++ b/converter/ppm/ppmtompeg/jrevdct.c
@@ -26,7 +26,7 @@
  * matrix, perhaps with the difference cases encoded.
  */
 
-#define _XOPEN_SOURCE  /* Make sure M_PI is in math.h */
+#define _XOPEN_SOURCE 500  /* get M_PI in math.h */
 
 #include <memory.h>
 #include <math.h>
diff --git a/converter/ppm/ppmtompeg/mfwddct.c b/converter/ppm/ppmtompeg/mfwddct.c
index ce85436d..9381e51c 100644
--- a/converter/ppm/ppmtompeg/mfwddct.c
+++ b/converter/ppm/ppmtompeg/mfwddct.c
@@ -15,7 +15,7 @@
  * instead of floating point.
  */
 
-#define _XOPEN_SOURCE  /* Make sure M_PI is in math.h */
+#define _XOPEN_SOURCE 500  /* get M_PI in math.h */
 
 #include <math.h>