1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Remove leftover pre-C89 code (re: a1f5c992)

I'd forgotten to check for uses of the __STDC__ macro. This is
defined on all C compilers that support C89/C90 or later standards.
So we can remove all fallback code disabled by that macro.
This commit is contained in:
Martijn Dekker 2021-12-27 05:43:07 +00:00
parent e072e7c170
commit 2027648f1a
12 changed files with 4 additions and 104 deletions

View file

@ -110,7 +110,7 @@ static const char usage[] =
#include <sys/stat.h>
#include <time.h>
#if !_PACKAGE_ast && defined(__STDC__)
#if !_PACKAGE_ast
#include <stdlib.h>
#include <string.h>
#endif