summaryrefslogtreecommitdiff
path: root/ace/config-minimal.h
blob: 11d66eb7b01417f4fbd79fa67f3a6d33c7511b9c (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
/* -*- C++ -*- */
// $Id$

// This configuration file is designed to build only the minimal
// ACE_OS adaptation layer.

#ifndef ACE_CONFIG_MINIMAL_H
#define ACE_CONFIG_MINIMAL_H
#include "ace/pre.h"

#define ACE_HAS_MINIMAL_ACE_OS

// Only instantiate the ACE_OS_Object_Manager.
#define ACE_MAIN_OBJECT_MANAGER \
  ACE_OS_Object_Manager ace_os_object_manager;

#if !defined(ACE_USE_THREAD_MANAGER_ADAPTER)
  // To prevent use of ACE_Thread_Exit functions in
  // ACE_Thread_Adapter::invoke ().
# define ACE_USE_THREAD_MANAGER_ADAPTER
#endif /* ! ACE_USE_THREAD_MANAGER_ADAPTER */

#if defined (ACE_ASSERT)
# undef ACE_ASSERT
#endif /* ACE_ASSERT */
#define ACE_ASSERT(x)

#if defined (ACE_DEBUG)
# undef ACE_DEBUG
#endif /* ACE_DEBUG */
#define ACE_DEBUG(x)

#if defined (ACE_ERROR)
# undef ACE_ERROR
#endif /* ACE_ERROR */
#define ACE_ERROR(x)

#include "ace/post.h"
#endif /* ACE_CONFIG_MINIMAL_H */