You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
433 B
19 lines
433 B
4 months ago
|
#if defined(__cplusplus)
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#define __RENAME(x) __asm__(#x)
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
extern "C++" char* basename(char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
|
||
|
extern "C++" const char* basename(const char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
|
||
|
#else
|
||
|
char* basename(const char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
|
||
|
#endif
|
||
|
|
||
|
char* foo() __INTRODUCED_IN(8);
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
}
|
||
|
#endif
|