Fixed borked notused macro

This commit is contained in:
Mikko Mononen 2014-06-13 21:21:26 +03:00
parent c53c48759d
commit ed582145f6

View File

@ -157,7 +157,7 @@ void nsvgDelete(NSVGimage* image);
#define NSVG_ALIGN_MEET 1
#define NSVG_ALIGN_SLICE 2
#define NSVG_NOTUSED(v) for(;;) { (void)(1 ? (void)0 : ( (void)(v) ) ); }
#define NSVG_NOTUSED(v) do { (void)(1 ? (void)0 : ( (void)(v) ) ); } while(0)
#define NSVG_RGB(r, g, b) (((unsigned int)r) | ((unsigned int)g << 8) | ((unsigned int)b << 16))
#ifdef _MSC_VER