Include stdint.h if it is present.

This commit is contained in:
steve 2005-12-07 03:43:30 +00:00
parent 1021e5acc8
commit 5cf64dfa70
3 changed files with 13 additions and 4 deletions

View File

@ -13,7 +13,7 @@ AC_CANONICAL_HOST
# Combined check for Microsoft-related bogosities; sets WIN32 if found # Combined check for Microsoft-related bogosities; sets WIN32 if found
AX_WIN32 AX_WIN32
AC_CHECK_HEADERS(malloc.h) AC_CHECK_HEADERS(malloc.h stdint.h)
# may modify CPPFLAGS and CFLAGS # may modify CPPFLAGS and CFLAGS
AX_CPP_PRECOMP AX_CPP_PRECOMP

View File

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ident "$Id: eval_bool.c,v 1.3 2005/12/05 21:20:55 steve Exp $" #ident "$Id: eval_bool.c,v 1.4 2005/12/07 03:43:30 steve Exp $"
/* /*
* This file includes functions for evaluating REAL expressions. * This file includes functions for evaluating REAL expressions.
@ -28,7 +28,9 @@
# include <malloc.h> # include <malloc.h>
#endif #endif
# include <stdlib.h> # include <stdlib.h>
//# include <stdint.h> #ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
# include <math.h> # include <math.h>
# include <assert.h> # include <assert.h>
@ -84,6 +86,9 @@ int draw_eval_bool64(ivl_expr_t exp)
/* /*
* $Log: eval_bool.c,v $ * $Log: eval_bool.c,v $
* Revision 1.4 2005/12/07 03:43:30 steve
* Include stdint.h if it is present.
*
* Revision 1.3 2005/12/05 21:20:55 steve * Revision 1.3 2005/12/05 21:20:55 steve
* Some systems donot have stding.h? * Some systems donot have stding.h?
* *

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: vvp_config.h.in,v 1.1 2004/01/20 21:00:47 steve Exp $" #ident "$Id: vvp_config.h.in,v 1.2 2005/12/07 03:43:30 steve Exp $"
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
@ -31,12 +31,16 @@
#endif #endif
# undef HAVE_MALLOC_H # undef HAVE_MALLOC_H
# undef HAVE_STDINT_H
# undef _LARGEFILE_SOURCE # undef _LARGEFILE_SOURCE
# undef _LARGEFILE64_SOURCE # undef _LARGEFILE64_SOURCE
/* /*
* $Log: vvp_config.h.in,v $ * $Log: vvp_config.h.in,v $
* Revision 1.2 2005/12/07 03:43:30 steve
* Include stdint.h if it is present.
*
* Revision 1.1 2004/01/20 21:00:47 steve * Revision 1.1 2004/01/20 21:00:47 steve
* Isolate configure from containing config.h * Isolate configure from containing config.h
* *