Do not use '#endif/#else xxx'; it is not allowed for ANSI C

This commit is contained in:
ceriel
1991-12-17 15:28:58 +00:00
parent 8daa5b2260
commit d33da47a2a
67 changed files with 306 additions and 298 deletions

View File

@@ -17,13 +17,13 @@
#ifdef LOGGING
extern int must_test;
#endif LOGGING
#endif /* LOGGING */
#ifdef LOGGING
#define check_def(p,l) if (!st_sh(p) || !st_sh(p+l)) {warning(WUNLOG);}
#else
#define check_def(p,l)
#endif LOGGING
#endif /* LOGGING */
DoAND(l)
register size l;
@@ -113,7 +113,7 @@ DoROL(l)
t = l*8 - 1;
}
}
#endif LOGGING
#endif /* LOGGING */
/* calculate result */
while (t--) {
@@ -146,7 +146,7 @@ DoROR(l)
t = l*8 - 1;
}
}
#endif LOGGING
#endif /* LOGGING */
/* calculate result */
while (t--) {