VR-Engage  2.2
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file export.h
7//! \brief Defines export macros for the VR-Engage Player Station library
8//!
9//! This file contains platform-specific macros for proper DLL export/import
10//! declarations used throughout the Player Station library. It ensures
11//! functions and classes are correctly exported from the DLL when building
12//! and imported when using the library.
13
14#pragma once
15
16
17#ifdef _WIN32
18 #ifdef PLAYERSTATION_EXPORTS
19 #define PLAYERSTATION_DLL __declspec(dllexport)
20 #else
21 #define PLAYERSTATION_DLL __declspec(dllimport)
22 #endif
23#else
24 #define PLAYERSTATION_DLL
25#endif