//
//  Copyright (c) 2012 Artyom Beilis (Tonkikh)
//
//  Distributed under the Boost Software License, Version 1.0. (See
//  accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef NOWIDE_CONFIG_H_INCLUDED
#define NOWIDE_CONFIG_H_INCLUDED

#if (defined(__WIN32) || defined(_WIN32) || defined(WIN32)) && !defined(__CYGWIN__)
#	define NOWIDE_WINDOWS
#endif

#ifdef _MSC_VER
#	define NOWIDE_MSVC
#endif

#ifdef NOWIDE_DLL
#	ifdef NOWIDE_SOURCE
#		ifdef _WIN32
#			define NOWIDE_DECL __declspec(dllexport)
#		else
#			define NOWIDE_DECL __attribute__((visibility("default")))
#		endif
#	else
#		ifdef _WIN32
#			define NOWIDE_DECL __declspec(dllimport)
#		endif
#	endif
#endif
#ifndef NOWIDE_DECL
#	define NOWIDE_DECL
#endif

#endif
///
// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
