summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-08-10 11:38:35 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-08-10 11:38:35 +0000
commite2f40fd22284ccc32d1cade3ce8071e28133c175 (patch)
tree76cc46e39513f5974b03012458ad4b5dead2891e /Build
parent6f4ac9742b02f4d2110c85e38167eb64d9c1a65e (diff)
pdfTeX: Drop unused definition of M_PI & Co
git-svn-id: svn://tug.org/texlive/trunk@27364 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/pdftexdir/ptexmac.h12
2 files changed, 5 insertions, 11 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index da4e364bf30..c3e9d7fa26a 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-10 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * ptexmac.h: Drop unused definition of M_PI & Co.
+
2012-08-08 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* ptexlib.h: extern void writestreamlength(longinteger, longinteger);
diff --git a/Build/source/texk/web2c/pdftexdir/ptexmac.h b/Build/source/texk/web2c/pdftexdir/ptexmac.h
index 935a773e65e..d7ba8b60e84 100644
--- a/Build/source/texk/web2c/pdftexdir/ptexmac.h
+++ b/Build/source/texk/web2c/pdftexdir/ptexmac.h
@@ -1,5 +1,5 @@
/*
-Copyright 1996-2011 Han The Thanh, <thanh@pdftex.org>
+Copyright 1996-2012 Han The Thanh, <thanh@pdftex.org>
This file is part of pdfTeX.
@@ -20,16 +20,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#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)