Fix Windows build

This commit is contained in:
Michael Hansen
2011-10-02 12:14:54 -07:00
parent 18a5f1082e
commit 53f207949f
3 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
#include "module.h"
#include <cstring>
#ifdef _MSC_VER
#define snprintf sprintf_s
#endif
/* PycInt */
void PycInt::load(PycData* stream, PycModule*)
{

View File

@@ -232,6 +232,10 @@
RelativePath=".\bytes\python_31.cpp"
>
</File>
<File
RelativePath=".\bytes\python_32.cpp"
>
</File>
</Filter>
<File
RelativePath=".\ASTNode.cpp"

View File

@@ -232,6 +232,10 @@
RelativePath=".\bytes\python_31.cpp"
>
</File>
<File
RelativePath=".\bytes\python_32.cpp"
>
</File>
</Filter>
<File
RelativePath=".\ASTNode.cpp"