summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2004-10-02 13:31:30 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2004-10-02 13:31:30 +0000
commit99f69f2ea1942229789c8007d27991601352ffe6 (patch)
tree13a8c232f881aca4f2affada77730c30c76b3ee2
parentdd9d956c0dab8d106c5591250a81b1e3eef9c638 (diff)
downloadlibtiff-git-99f69f2ea1942229789c8007d27991601352ffe6.tar.gz
Added check for assert.h header.
-rw-r--r--libtiff/tif_config.h.in3
-rw-r--r--libtiff/tif_config.h.vc3
-rw-r--r--libtiff/tiffiop.h6
3 files changed, 11 insertions, 1 deletions
diff --git a/libtiff/tif_config.h.in b/libtiff/tif_config.h.in
index 28a36fd0..c07cadb9 100644
--- a/libtiff/tif_config.h.in
+++ b/libtiff/tif_config.h.in
@@ -15,6 +15,9 @@
/* Use the 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. */
#undef HAVE_DLFCN_H
diff --git a/libtiff/tif_config.h.vc b/libtiff/tif_config.h.vc
index f89abace..296ffcf8 100644
--- a/libtiff/tif_config.h.vc
+++ b/libtiff/tif_config.h.vc
@@ -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 HAVE_FCNTL_H 1
diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h
index 2cf02d00..5ec2870a 100644
--- a/libtiff/tiffiop.h
+++ b/libtiff/tiffiop.h
@@ -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
@@ -44,6 +44,10 @@
# include <string.h>
#endif
+#if HAVE_ASSERT_H
+# include <assert.h>
+#endif
+
#include "tiffio.h"
#include "tif_dir.h"