include/SDL_rwops.h
changeset 5582 1281a3f1f0a6
parent 5535 96594ac5fd1a
child 5993 c9cb52d6d864
     1.1 --- a/include/SDL_rwops.h	Wed Jul 27 18:07:40 2011 -0400
     1.2 +++ b/include/SDL_rwops.h	Fri Jul 29 16:51:25 2011 -0400
     1.3 @@ -82,7 +82,21 @@
     1.4      Uint32 type;
     1.5      union
     1.6      {
     1.7 -#ifdef __WIN32__
     1.8 +#if defined(ANDROID)
     1.9 +        struct
    1.10 +        {
    1.11 +            void *fileName;
    1.12 +            void *fileNameRef;
    1.13 +            void *inputStream;
    1.14 +            void *inputStreamRef;
    1.15 +            void *skipMethod;
    1.16 +            void *readableByteChannel;
    1.17 +            void *readableByteChannelRef;
    1.18 +            void *readMethod;
    1.19 +            long position;
    1.20 +            int size;
    1.21 +        } androidio;
    1.22 +#elif defined(__WIN32__)
    1.23          struct
    1.24          {
    1.25              SDL_bool append;
    1.26 @@ -95,6 +109,7 @@
    1.27              } buffer;
    1.28          } windowsio;
    1.29  #endif
    1.30 +
    1.31  #ifdef HAVE_STDIO_H
    1.32          struct
    1.33          {