Make it work slightly better in Windows.

I tried with MinGW in Qt Creator and it now compiles. There's a crash though, possibly due to the TypeDef.h stuff.
I need to recompile Qt in VS before I can try it in VS 2010.
This commit is contained in:
Matt Williams
2010-03-04 22:01:06 +00:00
parent 1087e81b49
commit 5db2913e41
3 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_TypeDef_H__
#define __PolyVox_TypeDef_H__
#ifdef WIN32
#ifdef WIN32 #Should be is Visual studio (to allow MinGW)
#ifdef POLYVOXCORE_EXPORT
#define POLYVOXCORE_API __declspec(dllexport)
#else