diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-12-23 13:02:04 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-12-23 13:02:04 +0000 |
commit | 963f52f744d76f297298833b449d393fe9ae187a (patch) | |
tree | a0a049ebba7ec15f0a8372f143bb474f8e566cbf /navit/debug.c | |
parent | 340cbb1afb9ee233ce794200cdba9c5fb3f605d6 (diff) | |
download | navit-963f52f744d76f297298833b449d393fe9ae187a.tar.gz |
Fix:Core:wince build
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5312 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/debug.c')
-rw-r--r-- | navit/debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/debug.c b/navit/debug.c index 0ed7de26a..f4b0c45d1 100644 --- a/navit/debug.c +++ b/navit/debug.c @@ -229,6 +229,9 @@ debug_vprintf(int level, const char *module, const int mlen, const char *functio strcpy(xbuffer+strlen(xbuffer),buffer); strcpy(xbuffer+strlen(xbuffer),":"); } +#if defined HAVE_API_WIN32_CE +#define vsnprintf _vsnprintf +#endif vsnprintf(xbuffer+strlen(xbuffer),4095-strlen(xbuffer),fmt,ap); #ifdef DEBUG_WIN32_CE_MESSAGEBOX mbstowcs(muni, xbuffer, strlen(xbuffer)+1); |