1
0
Fork 0
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:
Charles Kerr 2008-07-09 02:56:40 +00:00
parent 0dba07197c
commit 99f1bdee28
2 changed files with 16 additions and 0 deletions

View file

@ -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
View 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