Program Listing for File macros.h

Return to documentation for file (microlith/detail/macros.h)

#ifndef INCLUDE_MICROLITH_DETAIL_MACROS_H_
#define INCLUDE_MICROLITH_DETAIL_MACROS_H_

#ifndef MICROLITH_EXPORT
#ifdef __GNUC__
#define MICROLITH_EXPORT __attribute__((visibility("default")))
#else
#error "Unsupported compiler detected! Please use gcc/clang, or make a pull"
"request for your compiler"
#endif  // _GNUC__
#endif  // MICROLITH_EXPORT

#endif  // INCLUDE_MICROLITH_DETAIL_MACROS_H_