forked from bartvdbraak/blender
Fix Windows compilation problem and update MSVC project files
This commit is contained in:
parent
39a8125e4c
commit
7630539fe8
@ -494,6 +494,9 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\source\blender\blenkernel\intern\script.c">
|
RelativePath="..\..\..\source\blender\blenkernel\intern\script.c">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\source\blender\blenkernel\intern\shrinkwrap.c">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\source\blender\blenkernel\intern\softbody.c">
|
RelativePath="..\..\..\source\blender\blenkernel\intern\softbody.c">
|
||||||
</File>
|
</File>
|
||||||
@ -708,6 +711,9 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\source\blender\blenkernel\BKE_script.h">
|
RelativePath="..\..\..\source\blender\blenkernel\BKE_script.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\source\blender\blenkernel\BKE_shrinkwrap.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\source\blender\blenkernel\BKE_softbody.h">
|
RelativePath="..\..\..\source\blender\blenkernel\BKE_softbody.h">
|
||||||
</File>
|
</File>
|
||||||
|
@ -61,6 +61,10 @@
|
|||||||
|
|
||||||
// These definitions are also in arithb for simplicity
|
// These definitions are also in arithb for simplicity
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846
|
#define M_PI 3.14159265358979323846
|
||||||
#endif
|
#endif
|
||||||
@ -116,5 +120,9 @@ int closedir (DIR *dp);
|
|||||||
void get_default_root(char *root);
|
void get_default_root(char *root);
|
||||||
int check_file_chars(char *filename);
|
int check_file_chars(char *filename);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __WINSTUFF_H__ */
|
#endif /* __WINSTUFF_H__ */
|
||||||
|
|
||||||
|
@ -30,8 +30,13 @@
|
|||||||
|
|
||||||
#include "GL/glew.h"
|
#include "GL/glew.h"
|
||||||
|
|
||||||
|
// directory header for py function getBlendFileList
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <dirent.h> // directory header for py function getBlendFileList
|
#ifndef WIN32
|
||||||
|
#include <dirent.h>
|
||||||
|
#else
|
||||||
|
#include "BLI_winstuff.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#pragma warning (disable : 4786)
|
#pragma warning (disable : 4786)
|
||||||
|
Loading…
Reference in New Issue
Block a user