1/* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007 The Open Thread Group
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
14#ifndef _OPENTHREAD_EXPORTS_H_
15#define _OPENTHREAD_EXPORTS_H_
17#include <OpenThreads/Config>
20 #define OPENTHREAD_EXPORT_DIRECTIVE
22 #if defined( OT_LIBRARY_STATIC )
23 #define OPENTHREAD_EXPORT_DIRECTIVE
24 #elif defined( OPENTHREADS_EXPORTS )
25 #define OPENTHREAD_EXPORT_DIRECTIVE __declspec(dllexport)
27 #define OPENTHREAD_EXPORT_DIRECTIVE __declspec(dllimport)