1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

some platforms provide posix snprintf via special defined, these defines however cause problems elsewhere

so this is a way to only have to do this define in one file
This commit is contained in:
unknown
2004-10-21 16:26:53 +00:00
parent 8a1488cd39
commit 277c84e2b1
4 changed files with 40 additions and 5 deletions

View File

@ -177,6 +177,12 @@ public:
* Trim string from <i>delim</i>
*/
static char* trim(char * src, const char * delim);
/**
* snprintf on some platforms need special treatment
*/
static int snprintf(char *str, size_t size, const char *format, ...);
static int vsnprintf(char *str, size_t size, const char *format, va_list ap);
private:
char* m_chr;
unsigned m_len;