1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

properly configure sitest so it could work, if we had the respective features :)

This commit is contained in:
mrdudz 2020-07-21 23:04:03 +02:00
parent 9e43c0a569
commit 2bbea6779a

View File

@ -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
#endif