]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: support distros with older versions of gcc
authorSean Hefty <sean.hefty@intel.com>
Wed, 25 Aug 2010 17:26:22 +0000 (10:26 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 25 Aug 2010 17:26:22 +0000 (10:26 -0700)
commit91b1fc555899408595f2be440a3295ed5594e93c
tree1a872937b30cacadadaea61c2b4755a657134ac8
parent0a83fa0154a0d56f255abe95cc31f54661b2c6eb
ibacm: support distros with older versions of gcc

ibacm implements atomics using gcc intrinsics that were introduced
in gcc 4.1.2.  If an older version of gcc is used to compile the
code, an error results.  Check that the required atomic calls are
supported, and if not, provide our own implementation.

This fixes a build issue on RH 5.x.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
configure.in
linux/osd.h
src/acm.c
src/acme.c
src/libacm.c
windows/osd.h