repo.or.cz
/
gromacs
/
AngularHB.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Stop duplicate printing of detected GPUs
[gromacs/AngularHB.git]
/
cmake
/
TestGlibcVersion.cpp
blob
ae63eb4cf15fe0ebbdff191a56cb0f1a6c0ba295
1
#include <features.h>
2
3
int
main
()
4
{
5
// This compiles if the C++ compiler is using glibc with version 2.23+
6
#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 23)
7
return
0
;
8
#else
9
#error A glibc version prior to 2.23 was found
10
#endif
11
}