mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
fixed posix build
This commit is contained in:
parent
841b82bd19
commit
233b5c1cbd
@ -78,6 +78,8 @@ private:
|
|||||||
|
|
||||||
#elif defined(__GNUC__) && (defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(__x86_64__))
|
#elif defined(__GNUC__) && (defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(__x86_64__))
|
||||||
|
|
||||||
|
namespace Firebird {
|
||||||
|
|
||||||
// Assembler version for x86 and AMD64. Note it uses xaddl thus it requires i486
|
// Assembler version for x86 and AMD64. Note it uses xaddl thus it requires i486
|
||||||
class AtomicCounter
|
class AtomicCounter
|
||||||
{
|
{
|
||||||
@ -118,6 +120,8 @@ private:
|
|||||||
volatile counter_type counter;
|
volatile counter_type counter;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} // namespace Firebird
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
# include "../common/classes/locks.h"
|
# include "../common/classes/locks.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user