From 9da5a023312e1fcf20ef14443753f7b14a906d1f Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 16 Sep 2009 20:18:56 -0700 Subject: [PATCH] More #if -> #ifdef --- lib/roken/roken.h.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index c8724a970..6f4f00396 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -307,12 +307,12 @@ char * ROKEN_LIB_FUNCTION strerror(int); #define hstrerror rk_hstrerror #endif /* This causes a fatal error under Psoriasis */ -#if !(defined(SunOS) && (SunOS >= 50)) +#ifndef SunOS const char * ROKEN_LIB_FUNCTION hstrerror(int); #endif #endif -#if !HAVE_DECL_H_ERRNO +#ifndef HAVE_DECL_H_ERRNO extern int h_errno; #endif @@ -509,13 +509,13 @@ int ROKEN_LIB_FUNCTION get_window_size(int fd, struct winsize *); void ROKEN_LIB_FUNCTION vsyslog(int, const char *, va_list); #endif -#if !HAVE_DECL_OPTARG +#ifndef HAVE_DECL_OPTARG extern char *optarg; #endif -#if !HAVE_DECL_OPTIND +#ifndef HAVE_DECL_OPTIND extern int optind; #endif -#if !HAVE_DECL_OPTERR +#ifndef HAVE_DECL_OPTERR extern int opterr; #endif