@ -62,7 +62,6 @@
'<(GTK_Root)/include/cairo',
],
'defines': [
'snprintf=_snprintf',
'_USE_MATH_DEFINES' # for M_PI
'configurations': {
@ -10,6 +10,11 @@
#include <cmath>
#include <limits>
// Compatibility with Visual Studio versions prior to VS2015
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
/*
* Parse integer value
*/
@ -17,6 +17,11 @@
#include "FontFace.h"
NAN_MODULE_INIT(init) {
Canvas::Initialize(target);
Image::Initialize(target);