aboutsummaryrefslogtreecommitdiff
path: root/src/nat/libnatpmp/declspec.h
diff options
context:
space:
mode:
authorMoon <moon@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-25 09:44:36 +0000
committerMoon <moon@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-25 09:44:36 +0000
commitb94248cf8b37caaea9436d9973a6641eaeca90cb (patch)
treed612aa43f7a899630e4a237422a6db9123078143 /src/nat/libnatpmp/declspec.h
parent38fea0d2e4fe5410fcba7b115080a464f9af1930 (diff)
downloadgnunet-b94248cf8b37caaea9436d9973a6641eaeca90cb.tar.gz
gnunet-b94248cf8b37caaea9436d9973a6641eaeca90cb.zip
initial NAT lib commit (UPnP and NAT-PMP support)
Diffstat (limited to 'src/nat/libnatpmp/declspec.h')
-rw-r--r--src/nat/libnatpmp/declspec.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nat/libnatpmp/declspec.h b/src/nat/libnatpmp/declspec.h
new file mode 100644
index 000000000..6c817977a
--- /dev/null
+++ b/src/nat/libnatpmp/declspec.h
@@ -0,0 +1,14 @@
1#ifndef __DECLSPEC_H__
2#define __DECLSPEC_H__
3
4#if defined(WIN32) && !defined(STATICLIB)
5#ifdef NATPMP_EXPORTS
6#define LIBSPEC __declspec(dllexport)
7#else
8#define LIBSPEC __declspec(dllimport)
9#endif
10#else
11#define LIBSPEC
12#endif
13
14#endif