8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

fixed posix build

This commit is contained in:
alexpeshkoff 2008-12-12 16:52:51 +00:00
parent 841b82bd19
commit 233b5c1cbd

View File

@ -78,6 +78,8 @@ private:
#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
class AtomicCounter
{
@ -118,6 +120,8 @@ private:
volatile counter_type counter;
};
} // namespace Firebird
#else
# include "../common/classes/locks.h"