Mercurial > sdl-ios-xcode
comparison include/SDL_rwops.h @ 5062:e8916fe9cfc8
Fixed bug #925
Changed "win32" to "windows"
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 20 Jan 2011 18:04:05 -0800 |
parents | 158bb5752974 |
children | c2539ff054c8 |
comparison
equal
deleted
inserted
replaced
5061:9e9940eae455 | 5062:e8916fe9cfc8 |
---|---|
81 int (SDLCALL * close) (struct SDL_RWops * context); | 81 int (SDLCALL * close) (struct SDL_RWops * context); |
82 | 82 |
83 Uint32 type; | 83 Uint32 type; |
84 union | 84 union |
85 { | 85 { |
86 #ifdef __WIN32__ | 86 #ifdef __WINDOWS__ |
87 struct | 87 struct |
88 { | 88 { |
89 SDL_bool append; | 89 SDL_bool append; |
90 void *h; | 90 void *h; |
91 struct | 91 struct |
92 { | 92 { |
93 void *data; | 93 void *data; |
94 size_t size; | 94 size_t size; |
95 size_t left; | 95 size_t left; |
96 } buffer; | 96 } buffer; |
97 } win32io; | 97 } windowsio; |
98 #endif | 98 #endif |
99 #ifdef HAVE_STDIO_H | 99 #ifdef HAVE_STDIO_H |
100 struct | 100 struct |
101 { | 101 { |
102 SDL_bool autoclose; | 102 SDL_bool autoclose; |