//  config.hpp: configuration file for Hamigaki.Audio

//  Copyright Takeshi Mouri 2006, 2007.
//  Use, modification, and distribution are subject to 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)

//  See http://hamigaki.sourceforge.jp/libs/audio for library home page.

#ifndef HAMIGAKI_AUDIO_DETAIL_CONFIG_HPP
#define HAMIGAKI_AUDIO_DETAIL_CONFIG_HPP

#include <boost/config.hpp>

#if defined(BOOST_HAS_DECLSPEC)
    #if defined(BOOST_ALL_DYN_LINK) || defined(HAMIGAKI_AUDIO_DYN_LINK)
        #if defined(HAMIGAKI_AUDIO_SOURCE)
            #define HAMIGAKI_AUDIO_DECL __declspec(dllexport)
        #else
            #define HAMIGAKI_AUDIO_DECL __declspec(dllimport)
        #endif
    #endif
#endif // defined(BOOST_HAS_DECLSPEC)

#if !defined(HAMIGAKI_AUDIO_DECL)
    #define HAMIGAKI_AUDIO_DECL
#endif

#if defined(__GNUC__)
    #define HAMIGAKI_AUDIO_NO_DS_ENUM
    #define HAMIGAKI_AUDIO_NO_CREATE_DS_CAPTRUE
#endif

#endif // HAMIGAKI_AUDIO_DETAIL_CONFIG_HPP
