Ticket #2283: 0001-boost-compile-fix-for-boost-s-spinlock-for-intel-c.patch

File 0001-boost-compile-fix-for-boost-s-spinlock-for-intel-c.patch, 1.0 KB (added by tim@…, 14 years ago)
  • libs/boost/boost/detail/spinlock.hpp

    From 7122ea390153d4cac80b1816ba226ebac41734c3 Mon Sep 17 00:00:00 2001
    From: Tim Blechmann <tim@klingt.org>
    Date: Tue, 16 Sep 2008 12:58:22 +0200
    Subject: [PATCH] [boost] compile fix for boost's spinlock for intel compiler
    
    ---
     libs/boost/boost/detail/spinlock.hpp |    3 ++-
     1 files changed, 2 insertions(+), 1 deletions(-)
    
    diff --git a/libs/boost/boost/detail/spinlock.hpp b/libs/boost/boost/detail/spinlock.hpp
    index 4d37c22..13ad668 100644
    a b  
    3232
    3333#if defined(__GNUC__) && defined( __arm__ )
    3434#  include <boost/detail/spinlock_gcc_arm.hpp>
    35 #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
     35#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) \
     36 && !(defined( __INTEL_COMPILER ) && !defined( __ia64__ ) )
    3637#  include <boost/detail/spinlock_sync.hpp>
    3738#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
    3839#  include <boost/detail/spinlock_w32.hpp>