brintos

brintos / llvm-project-archived public Read only

0
0
Text · 273 B · e131da6 Raw
16 lines · c
1#ifndef FOO_H2#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)     #x12#define PLATFORM_ALIAS(sym)	__asm("_" FOO __STRING(sym) DARWIN LINUX)13extern int foo() PLATFORM_ALIAS(foo);14 15#endif 16