1234567891011121314151617181920 |
- // Generated file for Linux compatibility
- // Empty implementation of DLL main functions
- #if defined(_WIN32)
- #error "This file should only be used on Linux builds"
- #endif
- // DllMain replacement for Linux
- __attribute__((constructor)) static void init_library(void) {}
- __attribute__((destructor)) static void exit_library(void) {}
- // Export symbols for Linux
- #if defined(__GNUC__) && __GNUC__ >= 4
- #define DLL_EXPORT __attribute__((visibility("default")))
- #else
- #define DLL_EXPORT
- #endif
- // Prevent "no symbols" warning
- DLL_EXPORT void _crc64_dummy_export(void) {}
|