1
hermetic_cc_toolchain/test/c/main.c

15 lines
274 B
C
Raw Normal View History

// Copyright 2023 Uber Technologies, Inc.
// Licensed under the MIT License
#include <stdio.h>
#include <features.h>
int main() {
#ifdef __GLIBC__
2022-04-15 15:20:42 +03:00
printf("glibc_%d.%d\n", __GLIBC__, __GLIBC_MINOR__);
#else
2022-04-15 15:20:42 +03:00
printf("non-glibc\n");
#endif
return 0;
}