File: declspec.h

package info (click to toggle)
libnatpmp 20110808-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 208 kB
  • ctags: 195
  • sloc: ansic: 1,295; makefile: 82; python: 17
file content (15 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (8)
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 NATPMP_EXPORTS
		#define LIBSPEC __declspec(dllexport)
	#else
		#define LIBSPEC __declspec(dllimport)
	#endif
#else
	#define LIBSPEC
#endif

#endif