OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Exports.h
Go to the documentation of this file.
1 /* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007 The Open Thread Group
2  *
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.
7  *
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.
12 */
13 
14 #ifndef _OPENTHREAD_EXPORTS_H_
15 #define _OPENTHREAD_EXPORTS_H_
16 
17 #include <OpenThreads/Config>
18 
19 #ifndef WIN32
20  #define OPENTHREAD_EXPORT_DIRECTIVE
21 #else
22  #if defined( OT_LIBRARY_STATIC )
23  #define OPENTHREAD_EXPORT_DIRECTIVE
24  #elif defined( OPENTHREADS_EXPORTS )
25  #define OPENTHREAD_EXPORT_DIRECTIVE __declspec(dllexport)
26  #else
27  #define OPENTHREAD_EXPORT_DIRECTIVE __declspec(dllimport)
28  #endif
29 #endif
30 
31 #endif
32 
33