* fix snprintf error with mingw

* move header guards to the right place.
This commit is contained in:
Nathan Letwory 2009-09-24 19:50:15 +00:00
parent 22d027dcb2
commit 2a63c4ab7b
2 changed files with 5 additions and 4 deletions

@ -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