diff options
Diffstat (limited to 'libguile/whippet/api/gc-visibility.h')
-rw-r--r-- | libguile/whippet/api/gc-visibility.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libguile/whippet/api/gc-visibility.h b/libguile/whippet/api/gc-visibility.h new file mode 100644 index 000000000..b7e1995df --- /dev/null +++ b/libguile/whippet/api/gc-visibility.h @@ -0,0 +1,12 @@ +#ifndef GC_VISIBILITY_H_ +#define GC_VISIBILITY_H_ + +#define GC_INTERNAL __attribute__((visibility("hidden"))) +#define GC_PUBLIC __attribute__((visibility("default"))) + +// FIXME: Conflict with bdw-gc GC_API. Switch prefix? +#ifndef GC_API_ +#define GC_API_ GC_INTERNAL +#endif + +#endif // GC_VISIBILITY_H |