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:
@ -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;
|
||||
|
Reference in New Issue
Block a user