forked from bartvdbraak/blender
* fix snprintf error with mingw
* move header guards to the right place.
This commit is contained in:
parent
22d027dcb2
commit
2a63c4ab7b
@ -29,6 +29,9 @@
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifndef __WINSTUFF_H__
|
||||
#define __WINSTUFF_H__
|
||||
|
||||
#ifndef FREE_WINDOWS
|
||||
#pragma warning(once: 4761 4305 4244 4018)
|
||||
#endif
|
||||
@ -59,10 +62,7 @@
|
||||
|
||||
#undef small
|
||||
|
||||
#ifndef __WINSTUFF_H__
|
||||
#define __WINSTUFF_H__
|
||||
|
||||
// These definitions are also in arithb for simplicity
|
||||
// These definitions are also in arithb for simplicity
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -44,6 +44,7 @@ extern "C" {
|
||||
* This little block needed for linking to Blender...
|
||||
*/
|
||||
#ifdef WIN32
|
||||
#include <vector>
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user