File: PMLComponentAPI.h

package info (click to toggle)
camitk 4.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 343,588 kB
  • sloc: cpp: 78,476; xml: 1,210; sh: 723; ansic: 142; makefile: 101; perl: 84; sed: 20
file content (15 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (3)
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