Fixed borked notused macro
This commit is contained in:
parent
c53c48759d
commit
ed582145f6
@ -157,7 +157,7 @@ void nsvgDelete(NSVGimage* image);
|
|||||||
#define NSVG_ALIGN_MEET 1
|
#define NSVG_ALIGN_MEET 1
|
||||||
#define NSVG_ALIGN_SLICE 2
|
#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))
|
#define NSVG_RGB(r, g, b) (((unsigned int)r) | ((unsigned int)g << 8) | ((unsigned int)b << 16))
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user