xref: /llvm-project/clang/test/InstallAPI/Inputs/LibFoo/usr/include/foo.h (revision 062f6fe324e98b0994e49bc14eb45b20aa0807c4)
1 #ifndef FOO_H
2 #define FOO_H
3 #include <macro_defs.h>
4 
5 #if defined(Foo)
6   #define FOO "FooLib$"
7 #else
8   #define FOO
9 #endif
10 
11 #define __STRING(x)     #x
12 #define PLATFORM_ALIAS(sym)	__asm("_" FOO __STRING(sym) DARWIN LINUX)
13 extern int foo() PLATFORM_ALIAS(foo);
14 
15 #endif
16