- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten - svcTabCommon: Export-Header-Fix via Fallback-Target - TrainingAreaBase: Stub-Header für BUILD_RTI=OFF - ddsfts: Include-Pfad und Dependency-Fixes - BUILD_RTI=OFF Compilation vollständig unterstützt Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
57 lines
1.8 KiB
C
57 lines
1.8 KiB
C
/*
|
|
* (c) Copyright, Real-Time Innovations, 2002-2024.
|
|
* All rights reserved.
|
|
*
|
|
* No duplications, whole or partial, manual or electronic, may be made
|
|
* without express written permission. Any such copies, or
|
|
* revisions thereof, must display this notice unaltered.
|
|
* This code contains trade secrets of Real-Time Innovations, Inc.
|
|
*/
|
|
|
|
#ifndef event_dll_h
|
|
#define event_dll_h
|
|
|
|
/*
|
|
Description
|
|
-----------
|
|
Using DLL declares:
|
|
When test is being compiled as a DLL, define both
|
|
TEST_DLL_EXPORT and TEST_DLL_VARIABLE, this will cause
|
|
the variables and functions to be exported in the DLL.
|
|
|
|
To link against the test DLL, define TEST_DLL_VARIABLE
|
|
if you access any of the exported *variables*. It is not
|
|
needed if you do not access any of the global variables in
|
|
the DLL.
|
|
|
|
Functions will be linked correctly by an application using
|
|
the DLL without having to define either LOG_DLL_EXPORT
|
|
or LOG_DLL_VARIABLE
|
|
*/
|
|
#if defined(RTI_WIN32) || defined(RTI_WINCE) || defined(RTI_INTIME)
|
|
#if defined(RTI_event_DLL_EXPORT)
|
|
#define RTIEventDllExport __declspec( dllexport )
|
|
#else
|
|
#define RTIEventDllExport
|
|
#endif /* RTI_event_DLL_EXPORT */
|
|
|
|
#if defined(RTI_event_DLL_VARIABLE)
|
|
#if defined(RTI_event_DLL_EXPORT)
|
|
#define RTIEventDllVariable __declspec( dllexport )
|
|
#else
|
|
#define RTIEventDllVariable __declspec( dllimport )
|
|
#endif /* RTI_event_DLL_EXPORT */
|
|
#else
|
|
#define RTIEventDllVariable
|
|
#endif /* RTI_event_DLL_VARIABLE */
|
|
#elif defined(RTI_VISIBILITY_HIDDEN)
|
|
#define RTIEventDllExport __attribute__((visibility("default")))
|
|
#define RTIEventDllVariable __attribute__((visibility("default")))
|
|
#else
|
|
#define RTIEventDllExport
|
|
#define RTIEventDllVariable
|
|
#endif /* RTI_WIN32 || RTI_WINCE || RTI_INTIME */
|
|
|
|
|
|
#endif /* event_dll_h */
|