Change-Id: Ie1cfe437abb250c87389e2f122cb2fda0c50e8dc
* SOFTWARE.
*/
+#include <string>
#include <thorvg.h>
#include "thorvg_capi.h"
#ifndef _TVG_FILL_H_
#define _TVG_FILL_H_
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
#include "tvgCommon.h"
template<typename T>
memcpy(ret->pImpl->colorStops, colorStops, sizeof(ColorStop) * cnt);
return ret;
- }
+ }
};
#endif //_TVG_FILL_H_
#include <ctype.h>
#include <cstring>
-#include <alloca.h>
+#ifdef _WIN32
+# include <malloc.h>
+#else
+# include <alloca.h>
+#endif
#include "tvgXmlParser.h"