summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-glibc.c
blob: 9367f7586676b850d43410bfc0cb75a4c88816c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdlib.h>

#if !defined(__UCLIBC__)
#include <gnu/libc-version.h>
#else
#define XSTR(s) STR(s)
#define STR(s) #s
#endif

int main(void)
{
#if !defined(__UCLIBC__)
	const char *version = gnu_get_libc_version();
#else
	const char *version = XSTR(__GLIBC__) "." XSTR(__GLIBC_MINOR__);
#endif

	return (long)version;
}
/net-next.git/diff/?id=206c4720092d2a24bfefc041b377e889a220ffbf&id2=d0e287a401d9acf67b75180b26e2d62b7d482652'>Diffstat (limited to 'drivers/usb/atm/usbatm.h')