Get latest DQN lib from side projects
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "dqn.h"
|
||||
|
||||
#define DN_CPP
|
||||
|
||||
/*
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@@ -17,29 +19,29 @@
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
*/
|
||||
|
||||
#if defined(DQN_WITH_CGEN)
|
||||
#if !defined(DQN_NO_METADESK)
|
||||
DQN_MSVC_WARNING_PUSH
|
||||
DQN_MSVC_WARNING_DISABLE(4505) // warning C4505: '<function>': unreferenced function with internal linkage has been removed
|
||||
#if defined(DN_WITH_CGEN)
|
||||
#if !defined(DN_NO_METADESK)
|
||||
DN_MSVC_WARNING_PUSH
|
||||
DN_MSVC_WARNING_DISABLE(4505) // warning C4505: '<function>': unreferenced function with internal linkage has been removed
|
||||
|
||||
DQN_GCC_WARNING_PUSH
|
||||
DQN_GCC_WARNING_DISABLE(-Wwrite-strings)
|
||||
DQN_GCC_WARNING_DISABLE(-Wunused-but-set-variable)
|
||||
DQN_GCC_WARNING_DISABLE(-Wsign-compare)
|
||||
DQN_GCC_WARNING_DISABLE(-Wunused-function)
|
||||
DQN_GCC_WARNING_DISABLE(-Wunused-result)
|
||||
DN_GCC_WARNING_PUSH
|
||||
DN_GCC_WARNING_DISABLE(-Wwrite-strings)
|
||||
DN_GCC_WARNING_DISABLE(-Wunused-but-set-variable)
|
||||
DN_GCC_WARNING_DISABLE(-Wsign-compare)
|
||||
DN_GCC_WARNING_DISABLE(-Wunused-function)
|
||||
DN_GCC_WARNING_DISABLE(-Wunused-result)
|
||||
|
||||
#include "External/metadesk/md.c"
|
||||
|
||||
DQN_GCC_WARNING_POP
|
||||
DQN_MSVC_WARNING_POP
|
||||
DN_GCC_WARNING_POP
|
||||
DN_MSVC_WARNING_POP
|
||||
#endif
|
||||
#define DQN_CPP_FILE_IMPLEMENTATION
|
||||
#define DN_CPP_FILE_IMPLEMENTATION
|
||||
#include "Standalone/dqn_cpp_file.h"
|
||||
#include "dqn_cgen.cpp"
|
||||
#endif
|
||||
|
||||
#if defined(DQN_WITH_JSON)
|
||||
#if defined(DN_WITH_JSON)
|
||||
#include "dqn_json.cpp"
|
||||
#endif
|
||||
|
||||
@@ -52,12 +54,12 @@
|
||||
#include "dqn_type_info.cpp"
|
||||
#include "dqn_os.cpp"
|
||||
|
||||
#if defined(DQN_PLATFORM_EMSCRIPTEN) || defined(DQN_PLATFORM_POSIX) || defined(DQN_PLATFORM_ARM64)
|
||||
#if defined(DN_PLATFORM_EMSCRIPTEN) || defined(DN_PLATFORM_POSIX) || defined(DN_PLATFORM_ARM64)
|
||||
#include "dqn_os_posix.cpp"
|
||||
#elif defined(DQN_PLATFORM_WIN32)
|
||||
#elif defined(DN_PLATFORM_WIN32)
|
||||
#include "dqn_os_win32.cpp"
|
||||
#else
|
||||
#error Please define a platform e.g. 'DQN_PLATFORM_WIN32' to enable the correct implementation for platform APIs
|
||||
#error Please define a platform e.g. 'DN_PLATFORM_WIN32' to enable the correct implementation for platform APIs
|
||||
#endif
|
||||
|
||||
#include "dqn_tls.cpp"
|
||||
@@ -65,7 +67,7 @@
|
||||
#include "dqn_hash.cpp"
|
||||
#include "dqn_helpers.cpp"
|
||||
|
||||
#if defined(DQN_WITH_UNIT_TESTS)
|
||||
#if defined(DN_WITH_UNIT_TESTS)
|
||||
#include "dqn_unit_tests.cpp"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user