Fixed to pass -Wundef

This commit is contained in:
Pavel Roskin 2000-07-28 19:38:27 +00:00
parent 259972e565
commit 616d13bcd1
4 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
#include <stdio.h> #include <stdio.h>
#if defined HAVE_LIMITS_H || _LIBC #if defined HAVE_LIMITS_H || defined _LIBC
# include <limits.h> # include <limits.h>
#endif #endif

View File

@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
#include <stdio.h> #include <stdio.h>
#if defined HAVE_LIMITS_H || _LIBC #if defined HAVE_LIMITS_H || defined _LIBC
# include <limits.h> # include <limits.h>
#endif #endif

View File

@ -49,7 +49,7 @@
#define DOTRACE 1 #define DOTRACE 1
#endif #endif
#if DOTRACE #ifdef DOTRACE
#include <arpa/inet.h> /* for inet_ntoa()... */ #include <arpa/inet.h> /* for inet_ntoa()... */
#define TRACE(x, y) do { if (x) printf y; } while (0) #define TRACE(x, y) do { if (x) printf y; } while (0)
#else #else

View File

@ -49,7 +49,7 @@
#define DOTRACE 1 #define DOTRACE 1
#endif #endif
#if DOTRACE #ifdef DOTRACE
#include <arpa/inet.h> /* for inet_ntoa()... */ #include <arpa/inet.h> /* for inet_ntoa()... */
#define TRACE(x, y) do { if (x) printf y; } while (0) #define TRACE(x, y) do { if (x) printf y; } while (0)
#else #else