File: libmsn_export.h

package info (click to toggle)
libmsn 4.2-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 3,656 kB
  • ctags: 4,718
  • sloc: cpp: 13,472; perl: 104; makefile: 52
file content (24 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _LIBMSN_EXPORT_H_
#define _LIBMSN_EXPORT_H_

/* export classes under windows
 * visibility can be added later under all other systems
*/
#ifdef _MSC_VER
// we need to include windows.h here to not get compiler errors inside excpt.h (system header)
#include <windows.h>
#pragma warning( disable : 4251 )
#pragma warning( disable : 4996 )
#endif

#ifdef _WIN32
# ifdef msn_EXPORTS
#  define LIBMSN_EXPORT __declspec(dllexport)
# else
#  define LIBMSN_EXPORT __declspec(dllimport)
#endif
#else
# define LIBMSN_EXPORT
#endif

#endif // _LIBMSN_EXPORT_H_