Ocean
Linux.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_PLATFORM_LINUX_LINUX_H
9 #define META_OCEAN_PLATFORM_LINUX_LINUX_H
10 
12 
13 namespace Ocean
14 {
15 
16 namespace Platform
17 {
18 
19 namespace Linux
20 {
21 
22 /**
23  * @ingroup platform
24  * @defgroup platformlinux Ocean Platform Linux Library
25  * @{
26  * The Ocean Linux Library provides specific functionalities for Linux.
27  * The library is available on Linux platforms only.
28  * @}
29  */
30 
31 /**
32  * @namespace Ocean::Platform::Linux Namespace of the Platform Linux library.<p>
33  * The Namespace Ocean::Platform::Linux is used in the entire Ocean Platform Linux Library.
34  */
35 
36 // Defines OCEAN_PLATFORM_LINUX_EXPORT for dll export and import.
37 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
38  #ifdef USE_OCEAN_PLATFORM_LINUX_EXPORT
39  #define OCEAN_PLATFORM_LINUX_EXPORT __declspec(dllexport)
40  #else
41  #define OCEAN_PLATFORM_LINUX_EXPORT __declspec(dllimport)
42  #endif
43 #else
44  #define OCEAN_PLATFORM_LINUX_EXPORT
45 #endif
46 
47 }
48 
49 }
50 
51 }
52 
53 #endif // META_OCEAN_PLATFORM_LINUX_LINUX_H
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15