File: GenericExport.hh

package info (click to toggle)
ignition-plugin 1.2.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 728 kB
  • sloc: cpp: 4,712; ansic: 277; ruby: 128; sh: 38; makefile: 12
file content (18 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef IGNITION_PLUGIN_TEST_GENERICEXPORT_HH_
#define IGNITION_PLUGIN_TEST_GENERICEXPORT_HH_

#if defined _WIN32 || defined __CYGWIN__
  #ifdef __GNUC__
    #define EXPORT __attribute__ ((dllexport))
  #else
    #define EXPORT __declspec(dllexport)
  #endif
#else
  #if __GNUC__ >= 4
    #define EXPORT __attribute__ ((visibility ("default")))
  #else
    #define EXPORT
  #endif
#endif

#endif