test-zig-cc/main.cc
2022-11-21 06:19:32 +02:00

12 lines
197 B
C++

#include <stdio.h>
#include <features.h>
int main() {
#ifdef __GLIBC__
printf("glibc_%d.%d\n", __GLIBC__, __GLIBC_MINOR__);
#else
printf("non-glibc\n");
#endif
return 0;
}