~ubuntu-branches/ubuntu/precise/transmission/precise

« back to all changes in this revision

Viewing changes to third-party/libnatpmp/declspec.h

  • Committer: Bazaar Package Importer
  • Author(s): Leo Costela
  • Date: 2009-05-17 19:39:51 UTC
  • mto: (1.3.4 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: james.westby@ubuntu.com-20090517193951-k8x15sqoxzf7cuyx
ImportĀ upstreamĀ versionĀ 1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
15