From 2bbea6779a0034e7353907776d89ef71dc1bf695 Mon Sep 17 00:00:00 2001 From: mrdudz <mrdudz@users.noreply.github.com> Date: Tue, 21 Jul 2020 23:04:03 +0200 Subject: [PATCH] properly configure sitest so it could work, if we had the respective features :) --- test/misc/sitest.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/test/misc/sitest.c b/test/misc/sitest.c index 3332c064e..d13acf92c 100644 --- a/test/misc/sitest.c +++ b/test/misc/sitest.c @@ -19,8 +19,9 @@ NOTE: This is not a thorough validation test of the facilities. */ +#define STANDARD_CC65 +#define NO_WCHAR #define NO_INTERNAL_WCHAR -/*#define STANDALONE*/ #include <errno.h> #include <limits.h> /* for CHAR_BIT */ @@ -37,7 +38,7 @@ #ifdef NO_WCHAR -#warn "this test checks C99 features, but NO_WCHAR is defined so the test will most definetly fails." +#warn "this test checks C99 features, but NO_WCHAR is defined so the test will most definitely fail." #endif @@ -51,16 +52,6 @@ #include <inttypes.h> /* test idempotency */ -#ifdef STANDALONE - -FILE *outfile=NULL; -#define opentest(x) outfile=stdout; -#define closetest(x) - -#else - -#endif - #if __STDC_VERSION__ >= 199901 #ifndef __Q8_QT #define __Q8_QT long long @@ -1588,4 +1579,4 @@ main() { return status; } -#endif \ No newline at end of file +#endif