[Gmp-commit] /var/hg/gmp-5.0: Test also __STDIO_LOADED (for VMS).

mercurial at gmplib.org mercurial at gmplib.org
Mon Apr 2 16:49:44 CEST 2012


details:   /var/hg/gmp-5.0/rev/8c8a831484d0
changeset: 13574:8c8a831484d0
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Apr 02 16:49:42 2012 +0200
description:
Test also __STDIO_LOADED (for VMS).

diffstat:

 ChangeLog |  4 ++++
 gmp-h.in  |  9 ++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 4088e04c9e84 -r 8c8a831484d0 ChangeLog
--- a/ChangeLog	Tue Mar 27 08:23:50 2012 +0200
+++ b/ChangeLog	Mon Apr 02 16:49:42 2012 +0200
@@ -1,3 +1,7 @@
+2012-04-02  Torbjorn Granlund  <tege at gmplib.org>
+
+	* gmp-h.in (_GMP_H_HAVE_FILE): Test also __STDIO_LOADED (for VMS).
+
 2012-03-27  Torbjorn Granlund  <tege at gmplib.org>
 
 	* config.guess: Fix typo in coreisbr recognition.
diff -r 4088e04c9e84 -r 8c8a831484d0 gmp-h.in
--- a/gmp-h.in	Tue Mar 27 08:23:50 2012 +0200
+++ b/gmp-h.in	Mon Apr 02 16:49:42 2012 +0200
@@ -1,7 +1,8 @@
 /* Definitions for GNU multiple precision functions.   -*- mode: c -*-
 
 Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
-2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
+Inc.
 
 This file is part of the GNU MP Library.
 
@@ -123,9 +124,6 @@
    indicates when building libgmpxx, and in that case libgmpxx functions are
    exports, but libgmp functions which might get called are imports.
 
-   libmp.la uses __GMP_DECLSPEC, just as if it were libgmp.la.  libgmp and
-   libmp don't call each other, so there's no conflict or confusion.
-
    Libtool DLL_EXPORT define is not used.
 
    There's no attempt to support GMP built both static and DLL.  Doing so
@@ -326,7 +324,8 @@
   || defined (__STDIO__)              /* Apple MPW MrC */       \
   || defined (_MSL_STDIO_H)           /* Metrowerks */          \
   || defined (_STDIO_H_INCLUDED)      /* QNX4 */		\
-  || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */
+  || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */		\
+  || defined (__STDIO_LOADED)         /* VMS */
 #define _GMP_H_HAVE_FILE 1
 #endif
 


More information about the gmp-commit mailing list