Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif.
authorwtc%netscape.com
Fri, 12 Oct 2001 21:45:13 +0000
changeset 2142 1402c6addae2b41176dc2bb306721478f00787d5
parent 2141 5ebb2441d90a4ba4518771d1723dd0dc968b6b76
child 2143 2cddef993db1467550705d98f0de8248c71aaeb0
push idunknown
push userunknown
push dateunknown
Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif.
dbm/src/snprintf.c
--- a/dbm/src/snprintf.c
+++ b/dbm/src/snprintf.c
@@ -1,19 +1,19 @@
 #ifndef HAVE_SNPRINTF
 
 #include "watcomfx.h"
 #include <sys/types.h>
 #include <stddef.h>
 #include <stdio.h>
 
-#ifndef HAVE_SYS_CDEFS_H
+#ifdef HAVE_SYS_CDEFS_H
+#include <sys/cdefs.h>
+#else
 #include "cdefs.h"
-#else
-#include <sys/cdefs.h>
 #endif
 
 #include "prtypes.h"
 
 #include <ncompat.h>
 
 /* The OS/2 VAC compiler doesn't appear to define __STDC__ and won't let us define it either */
 #if defined(__STDC__) || defined(XP_OS2_VACPP)