Module: sems Branch: rco/dnscache Commit: 70469dea2dae5506867dfab61e78bcaf577f7c4b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=70469dea2dae5506867dfab61e78bcaf577f7c4b
Author: Raphael <[email protected]> Committer: Raphael <[email protected]> Date: Sat Sep 4 00:20:35 2010 +0200 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 e09055a..4075eb4 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 f081c23..d81f5a3 100644 --- a/core/sip/resolver.cpp +++ b/core/sip/resolver.cpp @@ -37,9 +37,9 @@ #include <resolv.h> #include <arpa/inet.h> #include <arpa/nameser.h> -//#include <arpa/nameser_compat.h> // Darwin only #include <list> +#include <algorithm> using std::pair; using std::list; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
