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//! \ingroup vreVrfMessages
8//! \brief Export/import macros for the VRF Messages library
9//!
10//! This file defines the VRFMESSAGES_DLL macro which handles symbol visibility
11//! for the vreVrfMessages library across different platforms and build configurations.
12//! It ensures proper exporting and importing of symbols in both Windows and non-Windows environments.
13
14#pragma once
15
16#ifdef _WIN32
17 #ifdef VRFMESSAGES_EXPORTS
18 #define VRFMESSAGES_DLL __declspec(dllexport)
19 #else
20 #define VRFMESSAGES_DLL __declspec(dllimport)
21 #endif
22#else
23 #define VRFMESSAGES_DLL
24#endif