#ifndef __CORE_H__
#define __CORE_H__

#ifdef WIN32

// remove bogus compiler warnings

// 'conversion' conversion from 'type1' to 'type2', possible loss of data
#pragma warning( disable: 4244 ) 
// 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'
#pragma warning( disable: 4251 ) 
// non DLL-interface classkey 'identifier' used as base for DLL-interface classkey 'identifier'
#pragma warning( disable: 4275 )
// 'identifier' : truncation from 'type1' to 'type2'
#pragma warning( disable: 4305 )
#pragma warning( disable: 4786 )

#include <float.h>

#define isnan _isnan
#define isinf(f) ( !_finite( (f) ) )
#define stricmp _stricmp
#define strdup _strdup
#endif

#endif //__CORE_H__