diff options
author | comex | 2015-01-10 16:31:00 -0500 |
---|---|---|
committer | comex | 2015-01-10 16:31:00 -0500 |
commit | e910f0d9ddbd2f2a6b774ca364ac838c717ebc9f (patch) | |
tree | d9d5ebc9cfa7564c76eac91109607be08fd37fc0 /lib/substitute-internal.h | |
parent | private syms starting to look good (diff) | |
download | substitute-e910f0d9ddbd2f2a6b774ca364ac838c717ebc9f.tar.gz |
substrate
Diffstat (limited to 'lib/substitute-internal.h')
-rw-r--r-- | lib/substitute-internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/substitute-internal.h b/lib/substitute-internal.h new file mode 100644 index 0000000..cbb7462 --- /dev/null +++ b/lib/substitute-internal.h @@ -0,0 +1,10 @@ +#pragma once + +#include <stdio.h> +#define panic(...) do { \ + fprintf(stderr, __VA_ARGS__); \ + abort(); \ + __builtin_unreachable(); \ +} while(0) + +#define EXPORT __attribute__ ((visibility("default"))) |