8000 another go at _snprintf · arangodb/arangodb@51a0a76 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51a0a76

Browse files
committed
another go at _snprintf
1 parent a1a3306 commit 51a0a76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Basics/operating-system.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,10 @@
730730
#define TRI_random ::rand
731731
#define TRI_srandom ::srand
732732

733+
#if ( defined(_MSC_VER) && _MSC_VER < 1900 ) || ( defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) )
733734
#define snprintf _snprintf
735+
#endif
736+
734737
#define strcasecmp _stricmp
735738
#define strncasecmp _strnicmp
736739

0 commit comments

Comments
 (0)
0