mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-05 10:39:41 +00:00
47 lines
573 B
C++
47 lines
573 B
C++
#if 0
|
|
DEF DEFINE_FREEBSD = 0
|
|
#endif
|
|
|
|
|
|
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <ostream>
|
|
#include <new>
|
|
|
|
struct Foo {
|
|
int32_t x;
|
|
};
|
|
|
|
struct RenamedTy {
|
|
uint64_t y;
|
|
};
|
|
|
|
#if !defined(DEFINE_FREEBSD)
|
|
struct NoExternTy {
|
|
uint8_t field;
|
|
};
|
|
#endif
|
|
|
|
#if !defined(DEFINE_FREEBSD)
|
|
struct ContainsNoExternTy {
|
|
NoExternTy field;
|
|
};
|
|
#endif
|
|
|
|
#if defined(DEFINE_FREEBSD)
|
|
struct ContainsNoExternTy {
|
|
uint64_t field;
|
|
};
|
|
#endif
|
|
|
|
extern "C" {
|
|
|
|
void root(Foo a);
|
|
|
|
void renamed_func(RenamedTy a);
|
|
|
|
void no_extern_func(ContainsNoExternTy a);
|
|
|
|
} // extern "C"
|