more compile fixes

This commit is contained in:
ed
2025-08-14 10:28:26 -04:00
parent d7158df20b
commit fa7d1fee42
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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
View File
@@ -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
+6 -6
View File
@@ -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