Mercurial > sdl-ios-xcode
view test/automated/rwops/TestSupportRWops.h @ 5092:327f181542f1
Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 21:20:30 -0800 |
parents | 033c455bbe99 |
children |
line wrap: on
line source
#include <stdio.h> #include "SDL.h" #ifndef TestSupportRWops_h #define TestSupportRWops_h FILE* TestSupportRWops_OpenFPFromReadDir(const char *file, const char *mode); FILE* TestSupportRWops_OpenFPFromWriteDir(const char *file, const char *mode); SDL_RWops* TestSupportRWops_OpenRWopsFromReadDir(const char *file, const char *mode); SDL_RWops* TestSupportRWops_OpenRWopsFromWriteDir(const char *file, const char *mode); #endif