Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / ORB_Local_Config / Bug_2612 / DllOrb_Export.h
blob8c8c3a8840cefa7a96a2dc1d18a281328c2786cc
2 // -*- C++ -*-
3 // Definition for Win32 Export directives.
4 // This file is generated automatically by generate_export_file.pl DllOrb
5 // ------------------------------
6 #ifndef DLLORB_EXPORT_H
7 #define DLLORB_EXPORT_H
9 #include "ace/config-all.h"
11 #if defined (ACE_AS_STATIC_LIBS) && !defined (DLLORB_HAS_DLL)
12 # define DLLORB_HAS_DLL 0
13 #endif /* ACE_AS_STATIC_LIBS && DLLORB_HAS_DLL */
15 #if !defined (DLLORB_HAS_DLL)
16 # define DLLORB_HAS_DLL 1
17 #endif /* ! DLLORB_HAS_DLL */
19 #if defined (DLLORB_HAS_DLL) && (DLLORB_HAS_DLL == 1)
20 # if defined (DLLORB_BUILD_DLL)
21 # define DllOrb_Export ACE_Proper_Export_Flag
22 # define DLLORB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
23 # define DLLORB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
24 # else /* DLLORB_BUILD_DLL */
25 # define DllOrb_Export ACE_Proper_Import_Flag
26 # define DLLORB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
27 # define DLLORB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
28 # endif /* DLLORB_BUILD_DLL */
29 #else /* DLLORB_HAS_DLL == 1 */
30 # define DllOrb_Export
31 # define DLLORB_SINGLETON_DECLARATION(T)
32 # define DLLORB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
33 #endif /* DLLORB_HAS_DLL == 1 */
35 // Set DLLORB_NTRACE = 0 to turn on library specific tracing even if
36 // tracing is turned off for ACE.
37 #if !defined (DLLORB_NTRACE)
38 # if (ACE_NTRACE == 1)
39 # define DLLORB_NTRACE 1
40 # else /* (ACE_NTRACE == 1) */
41 # define DLLORB_NTRACE 0
42 # endif /* (ACE_NTRACE == 1) */
43 #endif /* !DLLORB_NTRACE */
45 #if (DLLORB_NTRACE == 1)
46 # define DLLORB_TRACE(X)
47 #else /* (DLLORB_NTRACE == 1) */
48 # if !defined (ACE_HAS_TRACE)
49 # define ACE_HAS_TRACE
50 # endif /* ACE_HAS_TRACE */
51 # define DLLORB_TRACE(X) ACE_TRACE_IMPL(X)
52 # include "ace/Trace.h"
53 #endif /* (DLLORB_NTRACE == 1) */
55 #endif /* DLLORB_EXPORT_H */
57 // End of auto generated file.