test-zig-cc/main.cc

12 lines
197 B
C++
Raw Normal View History

2022-11-21 06:19:32 +02:00
#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;
}