File: PMLComponentAPI.h

package info (click to toggle)
camitk 5.2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 358,388 kB
  • sloc: cpp: 86,984; xml: 1,295; sh: 1,280; ansic: 142; makefile: 112; 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