summaryrefslogtreecommitdiff
path: root/Tests/ExportImport/Export/systemlib.h
blob: 8ec055bb08f47d5716092d72d5cbadf72e1c2736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef SYSTEMLIB_H
#define SYSTEMLIB_H

#if defined(_WIN32) || defined(__CYGWIN__)
#  define systemlib_EXPORT __declspec(dllexport)
#else
#  define systemlib_EXPORT
#endif

struct systemlib_EXPORT SystemStruct
{
  SystemStruct();

  void someMethod()
  {
    int unused;
    // unused warning not issued when this header is used as a system header.
  }
};

#endif