Use inttypes.h instead of stdint.h for portability.
This commit is contained in:
parent
d52f41535f
commit
6d91be5b19
10
config.h.in
10
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 <inttypes.h>
|
||||
#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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <stdint.h>
|
||||
# include <inttypes.h>
|
||||
|
||||
#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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <map>
|
||||
# include <list>
|
||||
# include <vector>
|
||||
# include <stdint.h>
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <string>
|
||||
# include <stdint.h>
|
||||
|
||||
# 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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <iosfwd>
|
||||
#else
|
||||
class ostream;
|
||||
#endif
|
||||
|
||||
# include <stdint.h>
|
||||
|
||||
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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <stdint.h>
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
# include <inttypes.h>
|
||||
#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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue