mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-05-07 00:59:34 +00:00
- Applied all recommended XCode (8) settings. - Removed boost and replaced that code by standard functions. - Implemented name mangling via abi::__cxa_demangle instead of running an external process to use c++filt. - Enabled C++11. Min deployment target is now OSX 10.7. - Some code clean up (e.g. formatting, std namespace).
13 lines
340 B
C
13 lines
340 B
C
#ifndef MACHO_GLOBAL_H
|
|
#define MACHO_GLOBAL_H
|
|
|
|
// TODO: use visibility options http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/SymbolVisibility.html
|
|
|
|
#if defined(MACHO_LIBRARY)
|
|
#define EXPORT
|
|
#else
|
|
#define EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#endif // MACHO_GLOBAL_H
|