Boost 1.52 uses a completely different api for atomics. Not going to be supporting them. Also, fix llcalcparser in more old-boost compatible manner, and fix linux usage of apr_signal_description_get.

This commit is contained in:
Shyotl
2014-09-11 05:20:01 -05:00
parent 37c7a72505
commit 0493a91a42
5 changed files with 27 additions and 43 deletions

View File

@@ -66,6 +66,7 @@ bool windows_post_minidump_callback(const wchar_t* dump_path,
#else
# include <signal.h>
# include <unistd.h> // for fork()
# include "apr_signal.h" // for apr_signal_description_get(int signum)
void setup_signals();
void default_unix_signal_handler(int signum, siginfo_t *info, void *);

View File

@@ -46,7 +46,7 @@
//Prefer boost over stl over apr.
#if defined(USE_BOOST_ATOMIC) && (BOOST_VERSION >= 105200)
#if defined(USE_BOOST_ATOMIC) && (BOOST_VERSION >= 105300)
#include "boost/atomic.hpp"
template<typename T>
struct impl_atomic_type { typedef boost::atomic<T> type; };

View File

@@ -210,7 +210,6 @@ typedef CONDITION_VARIABLE impl_cond_handle_type;
//----APR specific------
#include "apr_thread_cond.h"
#include "apr_thread_mutex.h"
#include "apr_signal.h"
typedef LLAPRPool native_pool_type;
typedef apr_thread_mutex_t* impl_mutex_handle_type;
typedef apr_thread_cond_t* impl_cond_handle_type;
@@ -662,10 +661,10 @@ private:
// Simple responder for self destructing callbacks
// Pure virtual class
class LL_COMMON_API LLResponder : public LLThreadSafeRefCount
class LLResponder : public LLThreadSafeRefCount
{
protected:
virtual ~LLResponder();
virtual ~LLResponder() {}
public:
virtual void completed(bool success) = 0;
};