/[resiprocate]/main/contrib/popt/poptdll.h
ViewVC logotype

Contents of /main/contrib/popt/poptdll.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8848 - (show annotations) (download)
Thu Nov 4 21:31:20 2010 UTC (9 years, 2 months ago) by sgodin
File MIME type: text/plain
File size: 735 byte(s)
-added x64 project settings for VS2010
-replaced 32-bit pre-compiled popt libraries with source code for VS2010 projects only

1 #ifndef _POPT_DLL_IMPEXP_H_
2 #define _POPT_DLL_IMPEXP_H_ 1
3
4 #ifndef __GNUC__
5 # define __DLL_IMPORT__ __declspec(dllimport)
6 # define __DLL_EXPORT__ __declspec(dllexport)
7 #else
8 # define __DLL_IMPORT__ __attribute__((dllimport)) extern
9 # define __DLL_EXPORT__ __attribute__((dllexport)) extern
10 #endif
11
12 #if defined(__WIN32__) || defined(_WIN32)
13 # ifdef BUILD_POPT_DLL
14 # define POPT_DLL_IMPEXP __DLL_EXPORT__
15 # elif defined(POPT_STATIC)
16 # define POPT_DLL_IMPEXP extern
17 # elif defined (USE_POPT_DLL)
18 # define POPT_DLL_IMPEXP __DLL_IMPORT__
19 # else /* assume USE_POPT_DLL */
20 # define POPT_DLL_IMPEXP __DLL_IMPORT__
21 # endif
22 #else /* __WIN32__ */
23 # define POPT_DLL_IMPEXP
24 #endif
25
26 #endif /* _POPTDLLIMPEXP_H_ */

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27