]> granicus.if.org Git - json-c/commit
Fixed linkhash.c for MinGW
authorPablo Sanabria <pablo.s.q1.4.1991@gmail.com>
Sat, 25 Mar 2017 22:18:29 +0000 (19:18 -0300)
committerPablo Sanabria <pablo.s.q1.4.1991@gmail.com>
Mon, 27 Mar 2017 02:14:37 +0000 (23:14 -0300)
commitd3f813a14e603dc53d1fac050ec07eda870fe081
tree1e893373bb5350435cd8908ff560c85ac0c591f9
parent2cda677d06c43b9405e42cc6cc96589941b1e210
Fixed linkhash.c for MinGW

Added #ifdef conditions for MinGW because this compiler doesn't define
gcc atomic builtins, so __sync_val_compare_and_swap was not found
neither any of any __GCC_HAVE_SYNC_COMPARE_AND_SWAP_* definition
linkhash.c