biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Set up event consumption counter in DomDecMpiTests
[alexxy/gromacs.git]
/
cmake
/
TestGlibcVersion.cpp
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
}