Fix Windows build
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define snprintf sprintf_s
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PycInt */
|
/* PycInt */
|
||||||
void PycInt::load(PycData* stream, PycModule*)
|
void PycInt::load(PycData* stream, PycModule*)
|
||||||
{
|
{
|
||||||
|
@@ -232,6 +232,10 @@
|
|||||||
RelativePath=".\bytes\python_31.cpp"
|
RelativePath=".\bytes\python_31.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\bytes\python_32.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\ASTNode.cpp"
|
RelativePath=".\ASTNode.cpp"
|
||||||
|
@@ -232,6 +232,10 @@
|
|||||||
RelativePath=".\bytes\python_31.cpp"
|
RelativePath=".\bytes\python_31.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\bytes\python_32.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\ASTNode.cpp"
|
RelativePath=".\ASTNode.cpp"
|
||||||
|
Reference in New Issue
Block a user