// -*- C++ -*-
// $Id: DAnCE_Split_Plan_export.h 92042 2010-09-27 09:43:55Z johnnyw $
// Definition for Win32 Export directives.
// ------------------------------
#ifndef DANCE_SPLIT_PLAN_EXPORT_H
#define DANCE_SPLIT_PLAN_EXPORT_H

#include "ace/config-all.h"

#if defined (ACE_AS_STATIC_LIBS) && !defined (DANCE_SPLIT_PLAN_HAS_DLL)
#  define DANCE_SPLIT_PLAN_HAS_DLL 0
#endif /* ACE_AS_STATIC_LIBS && DANCE_SPLIT_PLAN_HAS_DLL */

#if !defined (DANCE_SPLIT_PLAN_HAS_DLL)
#  define DANCE_SPLIT_PLAN_HAS_DLL 1
#endif /* ! DANCE_SPLIT_PLAN_HAS_DLL */

#if defined (DANCE_SPLIT_PLAN_HAS_DLL) && (DANCE_SPLIT_PLAN_HAS_DLL == 1)
#  if defined (DANCE_SPLIT_PLAN_BUILD_DLL)
#    define DAnCE_Split_Plan_Export ACE_Proper_Export_Flag
#    define DANCE_SPLIT_PLAN_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
#    define DANCE_SPLIT_PLAN_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  else /* DANCE_SPLIT_PLAN_BUILD_DLL */
#    define DAnCE_Split_Plan_Export ACE_Proper_Import_Flag
#    define DANCE_SPLIT_PLAN_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
#    define DANCE_SPLIT_PLAN_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  endif /* DANCE_SPLIT_PLAN_BUILD_DLL */
#else /* DANCE_SPLIT_PLAN_HAS_DLL == 1 */
#  define DAnCE_Split_Plan_Export
#  define DANCE_SPLIT_PLAN_SINGLETON_DECLARATION(T)
#  define DANCE_SPLIT_PLAN_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* DANCE_SPLIT_PLAN_HAS_DLL == 1 */

// Set DANCE_SPLIT_PLAN_NTRACE = 0 to turn on library specific tracing even if
// tracing is turned off for ACE.
#if !defined (DANCE_SPLIT_PLAN_NTRACE)
#  if (ACE_NTRACE == 1)
#    define DANCE_SPLIT_PLAN_NTRACE 1
#  else /* (ACE_NTRACE == 1) */
#    define DANCE_SPLIT_PLAN_NTRACE 0
#  endif /* (ACE_NTRACE == 1) */
#endif /* !DANCE_SPLIT_PLAN_NTRACE */

#if (DANCE_SPLIT_PLAN_NTRACE == 1)
#  define DANCE_SPLIT_PLAN_TRACE(X)
#else /* (DANCE_SPLIT_PLAN_NTRACE == 1) */
#  if !defined (ACE_HAS_TRACE)
#    define ACE_HAS_TRACE
#  endif /* ACE_HAS_TRACE */
#  define DANCE_SPLIT_PLAN_TRACE(X) ACE_TRACE_IMPL(X)
#  include "ace/Trace.h"
#endif /* (DANCE_SPLIT_PLAN_NTRACE == 1) */

#endif /* DANCE_SPLIT_PLAN_EXPORT_H */

// End of auto generated file.
