From 70469dea2dae5506867dfab61e78bcaf577f7c4b Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 4 Sep 2010 00:20:35 +0200 Subject: [PATCH] small fixes --- core/atomic_types.h | 4 ++-- core/sip/resolver.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/atomic_types.h b/core/atomic_types.h index e09055a5..4075eb4a 100644 --- a/core/atomic_types.h +++ b/core/atomic_types.h @@ -60,7 +60,7 @@ class atomic_int64 public: void set(unsigned long long val) { -#ifndef __LP64__ || !__LP64__ +#if !defined(__LP64__) || !__LP64__ unsigned long long tmp_ll; do { tmp_ll = ll; @@ -72,7 +72,7 @@ public: } unsigned long long get() { -#ifndef __LP64__ || !__LP64__ +#if !defined(__LP64__) || !__LP64__ unsigned long long tmp_ll; do { tmp_ll = ll; diff --git a/core/sip/resolver.cpp b/core/sip/resolver.cpp index f081c231..d81f5a3e 100644 --- a/core/sip/resolver.cpp +++ b/core/sip/resolver.cpp @@ -37,9 +37,9 @@ #include #include #include -//#include // Darwin only #include +#include using std::pair; using std::list;