test/testautomation_rwops.c
changeset 8761 bce4122e6e87
parent 7678 286c42d7c5ed
child 9219 c65108ddbeb0
     1.1 --- a/test/testautomation_rwops.c	Mon May 05 22:26:21 2014 +0300
     1.2 +++ b/test/testautomation_rwops.c	Mon May 05 22:21:26 2014 +0300
     1.3 @@ -309,7 +309,7 @@
     1.4     if (rw == NULL) return TEST_ABORTED;
     1.5  
     1.6     /* Check type */
     1.7 -#if defined(ANDROID)
     1.8 +#if defined(__ANDROID__)
     1.9     SDLTest_AssertCheck(
    1.10        rw->type == SDL_RWOPS_STDFILE || rw->type == SDL_RWOPS_JNIFILE,
    1.11        "Verify RWops type is SDL_RWOPS_STDFILE or SDL_RWOPS_JNIFILE; expected: %d|%d, got: %d", SDL_RWOPS_STDFILE, SDL_RWOPS_JNIFILE, rw->type);
    1.12 @@ -356,7 +356,7 @@
    1.13     if (rw == NULL) return TEST_ABORTED;
    1.14  
    1.15     /* Check type */
    1.16 -#if defined(ANDROID)
    1.17 +#if defined(__ANDROID__)
    1.18     SDLTest_AssertCheck(
    1.19        rw->type == SDL_RWOPS_STDFILE || rw->type == SDL_RWOPS_JNIFILE,
    1.20        "Verify RWops type is SDL_RWOPS_STDFILE or SDL_RWOPS_JNIFILE; expected: %d|%d, got: %d", SDL_RWOPS_STDFILE, SDL_RWOPS_JNIFILE, rw->type);