Browse Source

_snprintf note

pull/1/head
Sami Vaarala 11 years ago
parent
commit
ce2ae50128
  1. 1
      src/duk_features.h

1
src/duk_features.h

@ -897,6 +897,7 @@ extern double duk_computed_nan;
#if defined(DUK_F_MSVC)
/* _snprintf() does NOT NUL terminate on truncation, but Duktape code never
* assumes that.
* http://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010
*/
#define DUK_SNPRINTF _snprintf
#else

Loading…
Cancel
Save