diff --git a/config.h.in b/config.h.in index bec0b2f76..4bdc087e3 100644 --- a/config.h.in +++ b/config.h.in @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: config.h.in,v 1.11 2004/10/04 01:10:52 steve Exp $" +#ident "$Id: config.h.in,v 1.12 2007/02/02 04:33:00 steve Exp $" #endif #if defined(__cplusplus) @@ -37,6 +37,7 @@ # undef HAVE_TIMES # undef HAVE_IOSFWD # undef HAVE_GETOPT_H +# undef HAVE_INTTYPES_H # undef HAVE_LIBIBERTY_H # undef HAVE_MALLOC_H # undef HAVE_DLFCN_H @@ -48,8 +49,15 @@ # undef HAVE_SYS_WAIT_H # undef WORDS_BIGENDIAN +#ifdef HAVE_INTTYPES_H +# include +#endif + /* * $Log: config.h.in,v $ + * Revision 1.12 2007/02/02 04:33:00 steve + * Use inttypes.h instead of stdint.h for portability. + * * Revision 1.11 2004/10/04 01:10:52 steve * Clean up spurious trailing white space. * diff --git a/ivl_target.h b/ivl_target.h index 8663dac21..95b7eab3f 100644 --- a/ivl_target.h +++ b/ivl_target.h @@ -19,10 +19,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: ivl_target.h,v 1.175 2007/01/29 01:52:51 steve Exp $" +#ident "$Id: ivl_target.h,v 1.176 2007/02/02 04:33:00 steve Exp $" #endif -# include +# include #ifdef __cplusplus #define _BEGIN_DECL extern "C" { @@ -1756,6 +1756,9 @@ _END_DECL /* * $Log: ivl_target.h,v $ + * Revision 1.176 2007/02/02 04:33:00 steve + * Use inttypes.h instead of stdint.h for portability. + * * Revision 1.175 2007/01/29 01:52:51 steve * Clarify the use of ivl_scope_def for not-functions. * diff --git a/netlist.h b/netlist.h index c6f4a98d4..2c6e88ce8 100644 --- a/netlist.h +++ b/netlist.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: netlist.h,v 1.366 2007/01/16 05:44:15 steve Exp $" +#ident "$Id: netlist.h,v 1.367 2007/02/02 04:33:00 steve Exp $" #endif /* @@ -32,8 +32,8 @@ # include # include # include -# include # include "ivl_target.h" +# include "config.h" # include "verinum.h" # include "verireal.h" # include "StringHeap.h" @@ -3472,6 +3472,9 @@ extern ostream& operator << (ostream&, NetNet::Type); /* * $Log: netlist.h,v $ + * Revision 1.367 2007/02/02 04:33:00 steve + * Use inttypes.h instead of stdint.h for portability. + * * Revision 1.366 2007/01/16 05:44:15 steve * Major rework of array handling. Memories are replaced with the * more general concept of arrays. The NetMemory and NetEMemory diff --git a/verinum.h b/verinum.h index 526c3f16c..047f110cd 100644 --- a/verinum.h +++ b/verinum.h @@ -19,11 +19,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: verinum.h,v 1.32 2006/08/08 05:11:37 steve Exp $" +#ident "$Id: verinum.h,v 1.33 2007/02/02 04:33:01 steve Exp $" #endif # include -# include # include "config.h" #ifdef HAVE_IOSFWD @@ -161,6 +160,9 @@ extern verinum v_not(const verinum&left); /* * $Log: verinum.h,v $ + * Revision 1.33 2007/02/02 04:33:01 steve + * Use inttypes.h instead of stdint.h for portability. + * * Revision 1.32 2006/08/08 05:11:37 steve * Handle 64bit delay constants. * diff --git a/verireal.h b/verireal.h index 3874f585e..159b4492f 100644 --- a/verireal.h +++ b/verireal.h @@ -19,17 +19,16 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: verireal.h,v 1.14 2006/10/03 05:06:00 steve Exp $" +#ident "$Id: verireal.h,v 1.15 2007/02/02 04:33:01 steve Exp $" #endif +# include "config.h" #ifdef HAVE_IOSFWD # include #else class ostream; #endif -# include - using namespace std; class verinum; @@ -86,6 +85,9 @@ extern verireal operator- (const verireal&); /* * $Log: verireal.h,v $ + * Revision 1.15 2007/02/02 04:33:01 steve + * Use inttypes.h instead of stdint.h for portability. + * * Revision 1.14 2006/10/03 05:06:00 steve * Support real valued specify delays, properly scaled. * diff --git a/vvp/config.h.in b/vvp/config.h.in index b0dedfa82..c1371f1a1 100644 --- a/vvp/config.h.in +++ b/vvp/config.h.in @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: config.h.in,v 1.22 2006/04/27 05:04:59 steve Exp $" +#ident "$Id: config.h.in,v 1.23 2007/02/02 04:33:01 steve Exp $" #endif #if defined(__cplusplus) @@ -48,7 +48,7 @@ # undef HAVE_LIBREADLINE # undef HAVE_READLINE_READLINE_H # undef HAVE_READLINE_HISTORY_H -# undef HAVE_STDINT_H +# undef HAVE_INTTYPES_H # undef HAVE_LROUND /* Figure if I can use readline. */ @@ -63,8 +63,8 @@ # define MODULE_DIR "." #endif -#ifdef HAVE_STDINT_H -# include +#ifdef HAVE_INTTYPES_H +# include #endif #if SIZEOF_UNSIGNED >= 8 @@ -119,6 +119,9 @@ extern long lround(double x); /* * $Log: config.h.in,v $ + * Revision 1.23 2007/02/02 04:33:01 steve + * Use inttypes.h instead of stdint.h for portability. + * * Revision 1.22 2006/04/27 05:04:59 steve * Detect missing lround function. * diff --git a/vvp/configure.in b/vvp/configure.in index 59dc1a217..ca2062893 100644 --- a/vvp/configure.in +++ b/vvp/configure.in @@ -35,7 +35,7 @@ fi AC_PROG_INSTALL AC_LANG_CPLUSPLUS -AC_CHECK_HEADERS(getopt.h malloc.h stdint.h iosfwd) +AC_CHECK_HEADERS(getopt.h malloc.h inttypes.h iosfwd) AC_CHECK_SIZEOF(unsigned long long) AC_CHECK_SIZEOF(unsigned long)