~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/global.h

  • Committer: Monty Taylor
  • Date: 2009-03-09 23:11:15 UTC
  • mto: (923.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 928.
  • Revision ID: mordred@inaugust.com-20090309231115-limmpu5v5y4sm9lo
Fixed the latest stuff on Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
# include <cassert>
39
39
# include <cerrno>
40
40
# include <sstream>
 
41
# if defined(HAVE_MEMORY)
 
42
#  include <memory>
 
43
# endif
 
44
# if defined(HAVE_TR1_MEMORY)
 
45
#  include <tr1/memory>
 
46
# endif
 
47
# if defined(HAVE_BOOST_SHARED_PTR_HPP)
 
48
#  include <boost/shared_ptr.hpp>
 
49
# endif
41
50
#else
42
51
# include <stdint.h>
43
52
# include <inttypes.h>
79
88
#endif /* HAVE_DECL_TIMEGM */
80
89
 
81
90
 
 
91
#if defined(__cplusplus)
 
92
# if !defined(SHARED_PTR_NAMESPACE)
 
93
#  error SHARED_PTR_NAMESPACE not defined, configure error!
 
94
# endif
 
95
using SHARED_PTR_NAMESPACE::shared_ptr;
 
96
#endif /* defined(SHARED_PTR_NAMESPACE)
 
97
 
82
98
/*
83
99
  Temporary solution to solve bug#7156. Include "sys/types.h" before
84
100
  the thread headers, else the function madvise() will not be defined