Added check for assert.h header.

This commit is contained in:
Andrey Kiselev 2004-10-02 13:31:30 +00:00
parent dd9d956c0d
commit 99f69f2ea1
3 changed files with 11 additions and 1 deletions

View File

@ -15,6 +15,9 @@
/* Use the Apple OpenGL framework. */ /* Use the Apple OpenGL framework. */
#undef HAVE_APPLE_OPENGL_FRAMEWORK #undef HAVE_APPLE_OPENGL_FRAMEWORK
/* Define to 1 if you have the <assert.h> header file. */
#undef HAVE_ASSERT_H
/* Define to 1 if you have the <dlfcn.h> header file. */ /* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H #undef HAVE_DLFCN_H

View File

@ -1,3 +1,6 @@
/* Define to 1 if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1
/* Define to 1 if you have the <fcntl.h> header file. */ /* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1 #define HAVE_FCNTL_H 1

View File

@ -1,4 +1,4 @@
/* $Id: tiffiop.h,v 1.27 2004-09-24 08:10:18 dron Exp $ */ /* $Id: tiffiop.h,v 1.28 2004-10-02 13:31:30 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -44,6 +44,10 @@
# include <string.h> # include <string.h>
#endif #endif
#if HAVE_ASSERT_H
# include <assert.h>
#endif
#include "tiffio.h" #include "tiffio.h"
#include "tif_dir.h" #include "tif_dir.h"