LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
version_c.h
Go to the documentation of this file.
1
5#ifndef VERSION_C_H
6#define VERSION_C_H
7
8#ifdef WIN32
9#ifdef __cplusplus
10# ifdef COMPILING_DLL_SimulatedReality
11# define SRAPI extern "C" __declspec(dllexport)
12# else
13# define SRAPI extern "C" __declspec(dllimport)
14# endif
15#else
16# ifdef COMPILING_DLL_SimulatedReality
17# error Trying to compile SimulatedReality.dll using a non-C++ compiler! Use a C++ compiler instead!
18# else
19# define SRAPI __declspec(dllimport)
20# endif
21#endif
22#else
23# define SRAPI
24#endif
25
39
40#undef SRAPI
41
42#endif // VERSION_C_H
SRAPI const char * getSRPlatformVersion()
Get the full version SR Platform in [MAJOR].[MINOR].[PATCH].[GIT_HASH].
#define SRAPI
Definition: version_c.h:23