diff options
author | Lars Persson | 2008-09-07 12:39:56 +0000 |
---|---|---|
committer | Lars Persson | 2008-09-07 12:39:56 +0000 |
commit | 0d762f5260568ad8bb6f9c77b168b144d46e0020 (patch) | |
tree | 39918228d5da7de649a68916c2637014c739551a /backends/platform/symbian/src | |
parent | 951ab1878a7b7c4ea05e9ab6bc4e7ffbaf3363f5 (diff) | |
download | scummvm-rg350-0d762f5260568ad8bb6f9c77b168b144d46e0020.tar.gz scummvm-rg350-0d762f5260568ad8bb6f9c77b168b144d46e0020.tar.bz2 scummvm-rg350-0d762f5260568ad8bb6f9c77b168b144d46e0020.zip |
Need to have own implementation of snprintf and vsnprintf.
svn-id: r34402
Diffstat (limited to 'backends/platform/symbian/src')
-rw-r--r-- | backends/platform/symbian/src/portdefs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h index 4d1b0d6d5a..ab8333c986 100644 --- a/backends/platform/symbian/src/portdefs.h +++ b/backends/platform/symbian/src/portdefs.h @@ -104,19 +104,19 @@ */ #elif defined (__WINS__) // WINS - extern "C" int SDL_snprintf(char *text, size_t maxlen, const char *fmt, ...); - extern "C" int SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap); - #define snprintf(buf,len,args...) SDL_snprintf(buf,len,args) - #define vsnprintf(buf,len,format,valist) SDL_vsnprintf(buf,len,format,valist) + extern "C" int symbian_snprintf(char *text, size_t maxlen, const char *fmt, ...); + extern "C" int symbian_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap); + #define snprintf(buf,len,args...) symbian_snprintf(buf,len,args) + #define vsnprintf(buf,len,format,valist) symbian_vsnprintf(buf,len,format,valist) void* symbian_malloc (size_t _size); #define malloc symbian_malloc #else // GCCE and the rest - extern "C" int SDL_snprintf(char *text, size_t maxlen, const char *fmt, ...); - extern "C" int SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap); - #define snprintf(buf,len,args...) SDL_snprintf(buf,len,args) - #define vsnprintf(buf,len,format,valist) SDL_vsnprintf(buf,len,format,valist) + extern "C" int symbian_snprintf(char *text, size_t maxlen, const char *fmt, ...); + extern "C" int symbian_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap); + #define snprintf(buf,len,args...) symbian_snprintf(buf,len,args) + #define vsnprintf(buf,len,format,valist) symbian_vsnprintf(buf,len,format,valist) #endif #ifndef __WINS__ |