From 1baf1c073475a162f14022b442a45f024067350c Mon Sep 17 00:00:00 2001 From: "m.milanovic@levi9.com" Date: Fri, 22 Aug 2014 16:32:13 +0200 Subject: [PATCH] Fixed one more undefined defines errors. --- examples/20-nanovg/nanovg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/20-nanovg/nanovg.cpp b/examples/20-nanovg/nanovg.cpp index a504f564..b4b9d1e0 100644 --- a/examples/20-nanovg/nanovg.cpp +++ b/examples/20-nanovg/nanovg.cpp @@ -984,7 +984,7 @@ void freeDemoData(struct NVGcontext* vg, struct DemoData* data) nvgDeleteImage(vg, data->images[i]); } -#if _MSC_VER < 1800 +#if defined(_MSC_VER) && (_MSC_VER < 1800) inline float round(float _f) { return float(int(_f) );