summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-08-10 11:32:19 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-08-10 11:32:19 +0000
commit75ec379a0390b4ae4b7d6ef106cbbbbc861d381e (patch)
treeb97607007372a4c85b782446f97b0e40c537a415 /Build/source/texk
parent0299246bfbf793c9ad56f7614be4a5472ee356b3 (diff)
dvipsk: Drop unused definition of M_PI & Co
git-svn-id: svn://tug.org/texlive/trunk@27362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/dvipsk/ChangeLog4
-rw-r--r--Build/source/texk/dvipsk/ptexmac.h9
2 files changed, 5 insertions, 8 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog
index 509214002ae..eaca6c73096 100644
--- a/Build/source/texk/dvipsk/ChangeLog
+++ b/Build/source/texk/dvipsk/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-10 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * ptexmac.h: Drop unused definition of M_PI & Co.
+
2012-04-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* dvips.c: do not free getenved string.
diff --git a/Build/source/texk/dvipsk/ptexmac.h b/Build/source/texk/dvipsk/ptexmac.h
index ed6ebe7d9be..fc76a316231 100644
--- a/Build/source/texk/dvipsk/ptexmac.h
+++ b/Build/source/texk/dvipsk/ptexmac.h
@@ -1,5 +1,5 @@
/*
-Copyright (c) 1996-2004 Han The Thanh, <thanh@pdftex.org>
+Copyright (c) 1996-2012 Han The Thanh, <thanh@pdftex.org>
This file is part of pdfTeX.
@@ -23,13 +23,6 @@ $Id: //depot/Build/source.development/TeX/texk/web2c/pdftexdir/ptexmac.h#18 $
#ifndef PDFTEXMAC
#define PDFTEXMAC
-/* Not all systems define it. */
-#ifndef M_PI
-#define M_PI 3.14159265358979323846 /* pi */
-#define M_PI_2 1.5707963267948966192E0 /*Hex 2^ 0 * 1.921FB54442D18 */
-#define M_PI_4 7.8539816339744830962E-1 /*Hex 2^-1 * 1.921FB54442D18 */
-#endif
-
#ifdef WIN32
// Why relying on gmalloc() ???
#define gmalloc(n) xmalloc(n)