mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-08 16:48:15 +00:00
more compile fixes
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#endif
|
||||
|
||||
// C++ namespace support
|
||||
#if defined(MD_DONT_USE_NAMESPACE) || LANG_C
|
||||
#if defined(MD_DONT_USE_NAMESPACE) || MD_LANG_C
|
||||
# if LANG_C
|
||||
# define MD_NS
|
||||
# define MD_NS_BEGIN
|
||||
|
||||
+2
-2
@@ -25,9 +25,9 @@ MD_NS_BEGIN
|
||||
#include "base/entry_point.c"
|
||||
#include "base/time.c"
|
||||
|
||||
#if OS_WINDOWS
|
||||
#if MD_OS_WINDOWS
|
||||
# include "os/win32/os_win32.c"
|
||||
#elif OS_LINUX
|
||||
#elif MD_OS_LINUX
|
||||
# include "os/win32/os_win32.c"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -3,22 +3,22 @@
|
||||
# include "base/namespace.h"
|
||||
#endif
|
||||
|
||||
#if !defined(OS_FEATURE_GRAPHICAL)
|
||||
# define OS_FEATURE_GRAPHICAL 0
|
||||
#if !defined(MD_OS_FEATURE_GRAPHICAL)
|
||||
# define MD_OS_FEATURE_GRAPHICAL 0
|
||||
#endif
|
||||
|
||||
#if !defined(OS_GFX_STUB)
|
||||
# define OS_GFX_STUB 0
|
||||
#if !defined(MD_OS_GFX_STUB)
|
||||
# define MD_OS_GFX_STUB 0
|
||||
#endif
|
||||
|
||||
#if OS_WINDOWS
|
||||
#if MD_OS_WINDOWS
|
||||
# include "os/win32/os_win32_includes.h"
|
||||
|
||||
MD_NS_BEGIN
|
||||
# include "os/win32/os_win32.h"
|
||||
MD_NS_END
|
||||
|
||||
#elif OS_LINUX
|
||||
#elif MD_OS_LINUX
|
||||
# include "os/linux/os_linux_includes.h"
|
||||
|
||||
MD_NS_BEGIN
|
||||
|
||||
Reference in New Issue
Block a user