/*
    Copyright (C) 2012 Bartosz Broda, Jacek Bochenek, Łukasz Biłeńkij, 
    Damian Jaworski, Wojciech Mazur, Dominik Piasecki, Maciej Piasecki, 
    Radosław Ramocki
    
    This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.

    This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. 

    See the LICENSE and COPYING files for more details.
*/

#ifndef MATRICESLIB_HEADERS_H
#define MATRICESLIB_HEADERS_H

#ifdef WIN32
	#define WIN32_LEAN_AND_MEAN     // Exclude rarely-used stuff from Windows headers
	#include <windows.h>
	#include <direct.h>
	#include <io.h>


	#if ( defined(matrices_EXPORTS) && !defined(MATRICES_STATIC) )
	#define	MATRICES_API __declspec(dllexport)
	#else
		#ifndef MATRICES_STATIC
			#define	MATRICES_API __declspec(dllimport)
		#else
			#define MATRICES_API
		#endif
	#endif

	#pragma warning( disable: 4290 ) //warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
	#pragma warning( disable: 4996 ) // c code "unsafe" :/
	//#pragma warning( disable: 4251 ) // needs to have dll interface to be used
#else
	#define MATRICES_API
#endif

#include "matrices_precompiled.h"
#endif
