File: PMLComponentAPI.h

package info (click to toggle)
camitk 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 389,496 kB
  • sloc: cpp: 103,476; sh: 2,448; python: 1,618; xml: 984; makefile: 128; perl: 84; sed: 20
file content (15 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#if defined(_WIN32) // MSVC and mingw

#ifdef COMPILE_PML_COMPONENT_API
#define PML_COMPONENT_API __declspec(dllexport)
#else
#define PML_COMPONENT_API __declspec(dllimport)
#endif // COMPILE_PML_COMPONENT_API

#else // for all other platforms PML_COMPONENT_API is defined to be "nothing"

#ifndef PML_COMPONENT_API
#define PML_COMPONENT_API
#endif // COMPILE_PML_COMPONENT_API

#endif // MSVC and mingw