mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-13 07:52:22 -07:00
25 lines
446 B
C++
25 lines
446 B
C++
#ifdef MD_INTELLISENSE_DIRECTIVES
|
|
# pragma once
|
|
# include "context_cracking.h"
|
|
#endif
|
|
|
|
// C++ namespace support
|
|
#if MD_DONT_USE_NAMESPACE || MD_LANG_C
|
|
# if MD_COMPILER_C
|
|
# define MD_NS
|
|
# define MD_NS_BEGIN
|
|
# define MD_NS_END
|
|
# else
|
|
# define MD_NS ::
|
|
# define MD_NS_BEGIN
|
|
# define MD_NS_END
|
|
# endif
|
|
#else
|
|
namespace MD {}
|
|
namespace md = MD;
|
|
|
|
# define MD_NS MD::
|
|
# define MD_NS_BEGIN namespace MD {
|
|
# define MD_NS_END }
|
|
#endif
|