Use #ifdef instead of #if in header conditionals.

This commit is contained in:
Andrey Kiselev 2005-07-11 14:45:18 +00:00
parent 673f12364f
commit b0ea7f14a3

View File

@ -1,4 +1,4 @@
/* $Id: tiffiop.h,v 1.37 2005-07-07 16:00:50 dron Exp $ */
/* $Id: tiffiop.h,v 1.38 2005-07-11 14:45:18 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@ -32,25 +32,25 @@
#include "tif_config.h"
#if HAVE_FCNTL_H
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#if HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_STRING_H
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#if HAVE_ASSERT_H
#ifdef HAVE_ASSERT_H
# include <assert.h>
#else
# define assert(x)
#endif
#if HAVE_SEARCH_H
#ifdef HAVE_SEARCH_H
# include <search.h>
#else
extern void *lfind(const void *, const void *, size_t *, size_t,