mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
add libnatpmp's new header "declspec.h" to svn
This commit is contained in:
parent
0dba07197c
commit
99f1bdee28
2 changed files with 16 additions and 0 deletions
1
third-party/libnatpmp/Makefile.am
vendored
1
third-party/libnatpmp/Makefile.am
vendored
|
@ -5,6 +5,7 @@ libnatpmp_a_SOURCES = \
|
|||
natpmp.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
declspec.h \
|
||||
getgateway.h \
|
||||
natpmp.h
|
||||
|
||||
|
|
15
third-party/libnatpmp/declspec.h
vendored
Normal file
15
third-party/libnatpmp/declspec.h
vendored
Normal file
|
@ -0,0 +1,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
|
||||
|
Loading…
Reference in a new issue