summaryrefslogtreecommitdiffstats
path: root/src/upnp/declspec.h
blob: b804247d255f2e4d12e2e48323f90ac24013b931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __DECLSPEC_H__
#define __DECLSPEC_H__

#if defined(WIN32) && !defined(STATICLIB)
	#ifdef MINIUPNP_EXPORTS
		#define LIBSPEC __declspec(dllexport)
	#else
		#define LIBSPEC __declspec(dllimport)
	#endif
#else
	#define LIBSPEC
#endif

#endif