Add cool quote
[gromacs.git] / cmake / TestGlibcVersion.cpp
blobae63eb4cf15fe0ebbdff191a56cb0f1a6c0ba295
1 #include <features.h>
3 int main()
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