From 616d13bcd1a431eb21d1d3e48b17be6c26443c1d Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 28 Jul 2000 19:38:27 +0000 Subject: [PATCH] Fixed to pass -Wundef --- coreutils/md5sum.c | 2 +- md5sum.c | 2 +- networking/telnet.c | 2 +- telnet.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index fad563f..a791a41 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c @@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *)); #include -#if defined HAVE_LIMITS_H || _LIBC +#if defined HAVE_LIMITS_H || defined _LIBC # include #endif diff --git a/md5sum.c b/md5sum.c index fad563f..a791a41 100644 --- a/md5sum.c +++ b/md5sum.c @@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *)); #include -#if defined HAVE_LIMITS_H || _LIBC +#if defined HAVE_LIMITS_H || defined _LIBC # include #endif diff --git a/networking/telnet.c b/networking/telnet.c index 3e43c4a..40cf7a1 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -49,7 +49,7 @@ #define DOTRACE 1 #endif -#if DOTRACE +#ifdef DOTRACE #include /* for inet_ntoa()... */ #define TRACE(x, y) do { if (x) printf y; } while (0) #else diff --git a/telnet.c b/telnet.c index 3e43c4a..40cf7a1 100644 --- a/telnet.c +++ b/telnet.c @@ -49,7 +49,7 @@ #define DOTRACE 1 #endif -#if DOTRACE +#ifdef DOTRACE #include /* for inet_ntoa()... */ #define TRACE(x, y) do { if (x) printf y; } while (0) #else -- 2.7.4