test-zig-cc

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

main.cc (197B) - Raw


      1 #include <stdio.h>
      2 #include <features.h>
      3 
      4 int main() {
      5     #ifdef __GLIBC__
      6     printf("glibc_%d.%d\n", __GLIBC__, __GLIBC_MINOR__);
      7     #else
      8     printf("non-glibc\n");
      9     #endif
     10     return 0;
     11 }