Skip to content

Commit db09979

Browse files
committed
[Nokia N-Gage] Remove redundant vsnprintf definition, add platform-specific va_copy declaration to SDL_vacopy.h
1 parent 9782847 commit db09979

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/core/ngage/SDL_ngage.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ void va_copy(char *dest, char *src)
2727
dest = src;
2828
}
2929

30-
int vsnprintf(char *str, size_t size, const char *format, va_list ap)
31-
{
32-
// Safely do nothing.
33-
return 0;
34-
}
30+
//int vsnprintf(char *str, size_t size, const char *format, va_list ap)
31+
//{
32+
// // Safely do nothing.
33+
// return 0;
34+
//}

src/stdlib/SDL_vacopy.h

+3
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@
2727

2828
#elif defined(__GNUC__) && (__GNUC__ < 3)
2929
#define va_copy(dst, src) __va_copy(dst, src)
30+
31+
#elif defined(__SYMBIAN32__)
32+
extern void va_copy(char* dest, char* src);
3033
#endif

0 commit comments

Comments
 (0)