summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Export.h
blob: fc49ecbc163959f15082fc66a67e9bc98b0c65e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

// -*- C++ -*-
// $Id$
// Definition for Win32 Export directives.
// This file is generated automatically by generate_export_file.pl
// ------------------------------
#ifndef TAO_EXPORT_H
#define TAO_EXPORT_H

#include "ace/config-all.h"

#if defined (TAO_AS_STATIC_LIBS)
#  if !defined (TAO_HAS_DLL)
#    define TAO_HAS_DLL 0
#  endif /* ! TAO_HAS_DLL */
#else
#  if !defined (TAO_HAS_DLL)
#    define TAO_HAS_DLL 1
#  endif /* ! TAO_HAS_DLL */
#endif

#if defined (TAO_HAS_DLL) && (TAO_HAS_DLL == 1)
#  if defined (TAO_BUILD_DLL)
#    define TAO_Export ACE_Proper_Export_Flag
#    define TAO_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
#    define TAO_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  else /* TAO_BUILD_DLL */
#    define TAO_Export ACE_Proper_Import_Flag
#    define TAO_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
#    define TAO_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  endif /* TAO_BUILD_DLL */
#else /* TAO_HAS_DLL == 1 */
#  define TAO_Export
#  define TAO_SINGLETON_DECLARATION(T)
#  define TAO_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* TAO_HAS_DLL == 1 */

#endif /* TAO_EXPORT_H */

// End of auto generated file.