VR-Engage  2.2
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2024 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6#pragma once
7
8//! Export/import macro for the CommentMessage example message library.
9//!
10//! When COMMENTMESSAGE_EXPORTS is defined while building the library,
11//! EXAMPLEMESSAGE_DLL expands to the appropriate export directive on
12//! Windows. When consuming the library, it expands to an import directive,
13//! and on non-Windows platforms it expands to nothing.
14#ifdef _WIN32
15 #ifdef COMMENTMESSAGE_EXPORTS
16 #define EXAMPLEMESSAGE_DLL __declspec(dllexport)
17 #else
18 #define EXAMPLEMESSAGE_DLL __declspec(dllimport)
19 #endif
20#else
21 #define EXAMPLEMESSAGE_DLL
22#endif