mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-26 00:29:27 +00:00
testcpu is beginning to run (with errors)
This commit is contained in:
parent
3149914741
commit
86e8eeafe2
|
@ -83,10 +83,18 @@ int main(int argc, char **argv) {
|
||||||
#define GREATEST_DEFAULT_WIDTH 72
|
#define GREATEST_DEFAULT_WIDTH 72
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ANDROID
|
||||||
|
#include <android/log.h>
|
||||||
|
#define GREATEST_STDOUT NULL
|
||||||
|
#define fprintf(fp, ...) __android_log_print(ANDROID_LOG_ERROR, "greatest", __VA_ARGS__)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* FILE *, for test logging. */
|
/* FILE *, for test logging. */
|
||||||
|
#ifndef ANDROID
|
||||||
#ifndef GREATEST_STDOUT
|
#ifndef GREATEST_STDOUT
|
||||||
#define GREATEST_STDOUT stdout
|
#define GREATEST_STDOUT stdout
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Remove GREATEST_ prefix from most commonly used symbols? */
|
/* Remove GREATEST_ prefix from most commonly used symbols? */
|
||||||
#ifndef GREATEST_USE_ABBREVS
|
#ifndef GREATEST_USE_ABBREVS
|
||||||
|
|
|
@ -7805,7 +7805,7 @@ int test_cpu(int argc, char **argv) {
|
||||||
GREATEST_MAIN_END();
|
GREATEST_MAIN_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(__APPLE__)
|
#if !defined(__APPLE__) && !defined(ANDROID)
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
test_cpu(argc, argv);
|
test_cpu(argc, argv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user