/thirdparty/libportfwd/third-party/miniupnpc-1.6/declspec.h

http://github.com/tomahawk-player/tomahawk · C Header · 15 lines · 12 code · 3 blank · 0 comment · 1 complexity · 52b7f18e11b225bd8005dbe476fb70d6 MD5 · raw file

  1. #ifndef __DECLSPEC_H__
  2. #define __DECLSPEC_H__
  3. #if defined(WIN32) && !defined(STATICLIB)
  4. #ifdef MINIUPNP_EXPORTS
  5. #define LIBSPEC __declspec(dllexport)
  6. #else
  7. #define LIBSPEC __declspec(dllimport)
  8. #endif
  9. #else
  10. #define LIBSPEC
  11. #endif
  12. #endif