mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed VS build.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
#include <inttypes.h>
|
||||
#include <float.h>
|
||||
|
||||
#ifndef NAN
|
||||
# define NAN (0.0/0.0)
|
||||
#endif // NAN
|
||||
|
||||
TEST_CASE("vsnprintf NULL buffer", "No output buffer provided.")
|
||||
{
|
||||
REQUIRE(4 == bx::snprintf(NULL, 0, "test") );
|
||||
|
||||
Reference in New Issue
Block a user