OSDN Git Service

* decContext.h: Properly guard inclusion of stdint.h
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2005 01:53:08 +0000 (01:53 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2005 01:53:08 +0000 (01:53 +0000)
* decContext.c: Include config.h
* decLibrary.c: Ditto.
* decNumber.c: Ditto.
* decRound.c: Ditto.
* decUtility.c: Ditto.
* decimal32.c: Ditto.
* decimal64.c: Ditto.
* decimal128.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107695 138bc75d-0d04-0410-961f-82ee72b054a4

libdecnumber/ChangeLog
libdecnumber/decContext.c
libdecnumber/decContext.h
libdecnumber/decLibrary.c
libdecnumber/decNumber.c
libdecnumber/decRound.c
libdecnumber/decUtility.c
libdecnumber/decimal128.c
libdecnumber/decimal32.c
libdecnumber/decimal64.c

index 30b9312..22a7331 100644 (file)
@@ -1,3 +1,15 @@
+2005-11-23  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * decContext.h: Properly guard inclusion of stdint.h
+       * decContext.c: Include config.h
+       * decLibrary.c: Ditto.
+       * decNumber.c: Ditto.
+       * decRound.c: Ditto.
+       * decUtility.c: Ditto.
+       * decimal32.c: Ditto.
+       * decimal64.c: Ditto.
+       * decimal128.c: Ditto.
+       
 2005-11-29  Ben Elliston  <bje@au.ibm.com>
 
        * decUtility.c: Remove redundant #includes.
index 26a7f3b..93bc2c9 100644 (file)
@@ -23,6 +23,7 @@
     context structures. */
 
 #include <string.h>            /* for strcmp */
+#include "config.h"
 #include "decContext.h"                /* context and base types */
 #include "decNumberLocal.h"    /* decNumber local types, etc. */
 
index d011f4f..2011025 100644 (file)
@@ -40,7 +40,9 @@
 #define DECCFULLNAME "Decimal Context Descriptor"      /* Verbose name */
 #define DECCAUTHOR   "Mike Cowlishaw"  /* Who to blame */
 
+#ifdef HAVE_STDINT_H
 #include <stdint.h>            /* C99 standard integers */
+#endif
 #include <signal.h>            /* for traps */
 
 
index b7cbd10..7cfd9b2 100644 (file)
@@ -18,6 +18,7 @@ along with GCC; see the file COPYING.  If not, write to the Free
 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 02110-1301, USA.  */
 
+#include "config.h"
 #include "decContext.h"
 #include "decimal128.h"
 #include "decimal64.h"
index c2a8980..08fa00d 100644 (file)
 #include <stdio.h>             /* for printf [if needed] */
 #include <string.h>            /* for strcpy */
 #include <ctype.h>             /* for lower */
+#include "config.h"
 #include "decNumber.h"         /* base number library */
 #include "decNumberLocal.h"    /* decNumber local types, etc. */
 
index d372666..0a85cb1 100644 (file)
@@ -18,6 +18,7 @@ along with GCC; see the file COPYING.  If not, write to the Free
 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 02110-1301, USA.  */
 
+#include "config.h"
 #include "decContext.h"
 
 #define FE_DEC_DOWNWARD 0
index f40ebd4..c1aa0fd 100644 (file)
@@ -19,6 +19,7 @@
    Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
+#include "config.h"
 #include "decNumber.h"          /* base number library */
 #include "decNumberLocal.h"     /* decNumber local types, etc. */
 #include "decUtility.h"         /* utility routines */
index 214dba0..94efd3d 100644 (file)
@@ -31,6 +31,7 @@
 #include <stdio.h>             /* [for printf] */
 
 #define  DECNUMDIGITS 34       /* we need decNumbers with space for 34 */
+#include "config.h"
 #include "decNumber.h"         /* base number library */
 #include "decNumberLocal.h"    /* decNumber local types, etc. */
 #include "decimal128.h"                /* our primary include */
index 20bdf28..e159640 100644 (file)
@@ -31,6 +31,7 @@
 #include <stdio.h>             /* [for printf] */
 
 #define  DECNUMDIGITS  7       /* we need decNumbers with space for 7 */
+#include "config.h"
 #include "decNumber.h"         /* base number library */
 #include "decNumberLocal.h"    /* decNumber local types, etc. */
 #include "decimal32.h"         /* our primary include */
index c6e2394..f7b4d04 100644 (file)
@@ -31,6 +31,7 @@
 #include <stdio.h>             /* [for printf] */
 
 #define  DECNUMDIGITS 16       /* we need decNumbers with space for 16 */
+#include "config.h"
 #include "decNumber.h"         /* base number library */
 #include "decNumberLocal.h"    /* decNumber local types, etc. */
 #include "decimal64.h"         /* our primary include */