Check for __GNUC__ to use GNU C atomic buildins
authorRichard Levitte <levitte@openssl.org>
Wed, 24 Aug 2016 11:03:20 +0000 (13:03 +0200)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 13:37:30 +0000 (14:37 +0100)
commitcb4b54c23b95e4638d643eb349d8d8dfa1cc2fd3
tree39661cd8c91114d12ff01f6c0df37643a6bdddc0
parent63db6b772fa264a62927f6a3584733192dc5a352
Check for __GNUC__ to use GNU C atomic buildins

Note: we trust any other compiler that fully implements GNU extension
to define __GNUC__

RT#4642

Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/threads_pthread.c