miniupnp/miniupnpc-libevent/declspec.h

16 lines
282 B
C
Raw Normal View History

2014-11-12 15:56:35 +00:00
#ifndef DECLSPEC_H_DEFINED
#define DECLSPEC_H_DEFINED
2014-11-17 19:33:11 +00:00
#if defined(_WIN32) && !defined(STATICLIB)
2014-11-12 15:56:35 +00:00
#ifdef MINIUPNP_EXPORTS
#define LIBSPEC __declspec(dllexport)
#else
#define LIBSPEC __declspec(dllimport)
#endif
#else
#define LIBSPEC
#endif
#endif /* DECLSPEC_H_DEFINED */