mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
use _snprintf instead of switch_snprintf on windows for now.. snprintf seems to be having issues handling anything that uses the #define'd format strings for time t and 64 bit ints on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4621 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
beea6225c1
commit
8d0a8690c2
2 files changed
+14
-14
No files matched your search
@@ -131,10 +131,6 @@ SWITCH_DECLARE(const char *) switch_dso_error(switch_dso_handle_t *dso, char *bu
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef snprintf
|
||||
#define snprintf switch_snprintf
|
||||
#endif
|
||||
|
||||
SWITCH_DECLARE(int) switch_snprintf(char *buf, switch_size_t len, const char *format, ...);
|
||||
|
||||
SWITCH_DECLARE(int) switch_vasprintf(char **buf, const char *format, va_list ap);
|
||||
|
||||
Reference in new issue
Block a user