diff options
author | Edward Thomson <ethomson@github.com> | 2017-02-22 10:34:19 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2017-02-22 11:21:56 +0000 |
commit | aa5ea47f7382c85d22282a093674f37fe942f116 (patch) | |
tree | 6db50e7182a04a0563109bf4950755d26b29dc97 /src/notes.c | |
parent | b13f0da153aa47fbf113c44e734be2be603870b6 (diff) | |
download | libgit2-ethomson/ancient_gcc_not_threadsafe.tar.gz |
Provide error on gcc < 4.1 when THREADSAFEethomson/ancient_gcc_not_threadsafe
Provide a descriptive error message when compiling THREADSAFE on gcc
versions < 4.1. We require the atomic primitives (eg
`__sync_synchronize`) that were introduced in that version.
(Note, clang setes `__GNUC__` but appears to set its version > 4.1.)
Diffstat (limited to 'src/notes.c')
0 files changed, 0 insertions, 0 deletions