mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(win32) Don't use dllimport/dllexport (part 2)
This commit is contained in:
parent
b8b46aeb12
commit
6feb76ba37
1 changed files with 4 additions and 0 deletions
4
third-party/libnatpmp/declspec.h
vendored
4
third-party/libnatpmp/declspec.h
vendored
|
@ -1,6 +1,7 @@
|
|||
#ifndef __DECLSPEC_H__
|
||||
#define __DECLSPEC_H__
|
||||
|
||||
/*
|
||||
#if defined(WIN32) && !defined(STATICLIB)
|
||||
#ifdef NATPMP_EXPORTS
|
||||
#define LIBSPEC __declspec(dllexport)
|
||||
|
@ -8,8 +9,11 @@
|
|||
#define LIBSPEC __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
*/
|
||||
#define LIBSPEC
|
||||
/*
|
||||
#endif
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue