mapserver/mapserver — pull request #4320 by unicolet (2012-05-17 15:46:25+00:00)
Title: Use autconf macro to check for availability of __sync_fetch_and_add

Instead of relying on compiler version (which is unreliable) just use an autoconf macro and a new HAVE_SYNC_FETCH_AND_ADD define.

Issue #4231