Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS2 / JAWS / Export.h
bloba78a5cb03adf4331e21345b191d00cd28e3508c2
1 // -*- C++ -*-
2 // Definition for Win32 Export directives.
3 // This file is generated automatically by generate_export_file.pl -s JAWS
4 // ------------------------------
5 #ifndef JAWS_EXPORT_H
6 #define JAWS_EXPORT_H
8 #include "ace/config-all.h"
10 #if defined (ACE_AS_STATIC_LIBS) && !defined (JAWS_HAS_DLL)
11 # define JAWS_HAS_DLL 0
12 #endif /* ACE_AS_STATIC_LIBS && JAWS_HAS_DLL */
14 #if !defined (JAWS_HAS_DLL)
15 # define JAWS_HAS_DLL 1
16 #endif /* ! JAWS_HAS_DLL */
18 #if defined (JAWS_HAS_DLL) && (JAWS_HAS_DLL == 1)
19 # if defined (JAWS_BUILD_DLL)
20 # define JAWS_Export ACE_Proper_Export_Flag
21 # define JAWS_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
22 # define JAWS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
23 # else /* JAWS_BUILD_DLL */
24 # define JAWS_Export ACE_Proper_Import_Flag
25 # define JAWS_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
26 # define JAWS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
27 # endif /* JAWS_BUILD_DLL */
28 #else /* JAWS_HAS_DLL == 1 */
29 # define JAWS_Export
30 # define JAWS_SINGLETON_DECLARATION(T)
31 # define JAWS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
32 #endif /* JAWS_HAS_DLL == 1 */
34 // Set JAWS_NTRACE = 0 to turn on library specific tracing even if
35 // tracing is turned off for ACE.
36 #if !defined (JAWS_NTRACE)
37 # if (ACE_NTRACE == 1)
38 # define JAWS_NTRACE 1
39 # else /* (ACE_NTRACE == 1) */
40 # define JAWS_NTRACE 0
41 # endif /* (ACE_NTRACE == 1) */
42 #endif /* !JAWS_NTRACE */
44 #if (JAWS_NTRACE == 1)
45 # define JAWS_TRACE(X)
46 #else /* (JAWS_NTRACE == 1) */
47 # if !defined (ACE_HAS_TRACE)
48 # define ACE_HAS_TRACE
49 # endif /* ACE_HAS_TRACE */
50 # define JAWS_TRACE(X) ACE_TRACE_IMPL(X)
51 # include "ace/Trace.h"
52 #endif /* (JAWS_NTRACE == 1) */
54 #endif /* JAWS_EXPORT_H */
56 // End of auto generated file.