mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
porting 1.4.4 rev. 1929, 1939 (SF# 3552680 et. al)
This commit is contained in:
@@ -171,6 +171,8 @@ class AbstractEvent
|
||||
/// to create the PriorityDelegate.
|
||||
{
|
||||
public:
|
||||
typedef TArgs Args;
|
||||
|
||||
AbstractEvent():
|
||||
_executeAsync(this, &AbstractEvent::executeAsyncImpl),
|
||||
_enabled(true)
|
||||
|
||||
@@ -42,15 +42,19 @@
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#if POCO_OS == POCO_OS_WINDOWS_NT
|
||||
#include "Poco/UnWindows.h"
|
||||
#include "Poco/UnWindows.h"
|
||||
#elif POCO_OS == POCO_OS_MAC_OS_X
|
||||
#include <libkern/OSAtomic.h>
|
||||
#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 1) || __GNUC__ > 4) && (defined(__x86_64__) || defined(__i386__))
|
||||
#if !defined(POCO_HAVE_GCC_ATOMICS)
|
||||
#define POCO_HAVE_GCC_ATOMICS
|
||||
#endif
|
||||
#include <libkern/OSAtomic.h>
|
||||
#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2) || __GNUC__ > 4) && (defined(__x86_64__) || defined(__i386__))
|
||||
#if !defined(POCO_HAVE_GCC_ATOMICS) && !defined(POCO_NO_GCC_ATOMICS)
|
||||
#define POCO_HAVE_GCC_ATOMICS
|
||||
#endif
|
||||
#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3) || __GNUC__ > 4)
|
||||
#if !defined(POCO_HAVE_GCC_ATOMICS) && !defined(POCO_NO_GCC_ATOMICS)
|
||||
#define POCO_HAVE_GCC_ATOMICS
|
||||
#endif
|
||||
#else
|
||||
#include "Poco/Mutex.h"
|
||||
#include "Poco/Mutex.h"
|
||||
#endif // POCO_OS
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user