]> wimlib.net Git - wimlib/blobdiff - include/wimlib/compiler.h
Fix clang warnings about inconsistent use of dllexport
[wimlib] / include / wimlib / compiler.h
index 283152bd7aae82ebd1b112a530aa90ad0cfc1080..f0eb96e3de3d42184bf04e47b7a8a7d40334965a 100644 (file)
 #  define __has_builtin(builtin)       0
 #endif
 
-/* Declare that the annotated function should be exported from the shared
- * library (or DLL).  */
-#ifdef _WIN32
-#  define WIMLIBAPI __declspec(dllexport)
-#else
-#  define WIMLIBAPI __attribute__((visibility("default")))
-#endif
-
 /* Declare that the annotated function should always be inlined.  This might be
  * desirable in highly tuned code, e.g. compression codecs.  */
 #define forceinline            inline __attribute__((always_inline))