Menu

[r712]: / framework2 / trunk / cppcms / defs.h  Maximize  Restore  History

Download this file

20 lines (16 with data), 422 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#ifndef CPPCMS_DEFS_H
#define CPPCMS_DEFS_H
#if defined(__WIN32) || defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__)
# ifdef DLL_EXPORT
# ifdef CPPCMS_SOURCE
# define CPPCMS_API __declspec(dllexport)
# else
# define CPPCMS_API __declspec(dllimport)
# endif
# else
# define CPPCMS_API
# endif
#else // ELF BINARIES
# define CPPCMS_API __attribute__(visibility("default"))
#endif
#endif /// CPPCMS_DEFS_H
MongoDB Logo MongoDB