Ookii.CommandLine for C++  2.0.0
platform_helper.h
Go to the documentation of this file.
1 #ifndef OOKII_PLATFORM_HELPER_H_
21 #define OOKII_PLATFORM_HELPER_H_
22 
23 #pragma once
24 
25 #ifndef OOKII_PLATFORM_NOT_INLINE
26 #define OOKII_PLATFORM_FUNC(decl) inline decl
27 #define OOKII_PLATFORM_FUNC_HAS_BODY
28 #elif defined(OOKII_PLATFORM_DEFINITION)
29 #define OOKII_PLATFORM_FUNC(decl) decl
30 #define OOKII_PLATFORM_FUNC_HAS_BODY
31 #else
32 #define OOKII_PLATFORM_FUNC(decl) decl;
33 #endif
34 
35 #ifdef _WIN32
36 #include "win32_helper.h"
37 #else
38 #include "linux_helper.h"
39 #endif
40 
41 #endif
Provides platform-specific functionality for Linux and other POSIX-like platforms.
Provides platform-specific functionality for Windows.