summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/systemlib.h
blob: f7900c09868aef2b1909c3b40ee01f0424798060 (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