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 * Copyright (c) 1988-1997 Sam Leffler
@ -32,25 +32,25 @@
#include "tif_config.h" #include "tif_config.h"
#if HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
# include <fcntl.h> # include <fcntl.h>
#endif #endif
#if HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
#endif #endif
#if HAVE_STRING_H #ifdef HAVE_STRING_H
# include <string.h> # include <string.h>
#endif #endif
#if HAVE_ASSERT_H #ifdef HAVE_ASSERT_H
# include <assert.h> # include <assert.h>
#else #else
# define assert(x) # define assert(x)
#endif #endif
#if HAVE_SEARCH_H #ifdef HAVE_SEARCH_H
# include <search.h> # include <search.h>
#else #else
extern void *lfind(const void *, const void *, size_t *, size_t, extern void *lfind(const void *, const void *, size_t *, size_t,