mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Remove unused macros
This commit is contained in:
parent
de745ed473
commit
2669cc8710
@ -58,18 +58,6 @@
|
||||
#pragma warning (disable : 4267)
|
||||
/* C4577: 'noexcept' used with no exception handling mode specified */
|
||||
#pragma warning (disable : 4577)
|
||||
|
||||
#if _MSC_VER >= 1300
|
||||
#if _MSC_VER >= 1310
|
||||
#define USING_MSVC7_1
|
||||
// #pragma message("VC 7.1")
|
||||
#else
|
||||
// #pragma message("VC 7.0")
|
||||
#endif
|
||||
#define USING_MSVC7
|
||||
#else
|
||||
// #pragma message("VC 6.0")
|
||||
#endif
|
||||
#endif /* WIN32_VC */
|
||||
|
||||
#ifndef __has_builtin
|
||||
|
@ -152,8 +152,6 @@ private:
|
||||
|
||||
#define nassert_raise(message) Notify::write_string(message)
|
||||
|
||||
#define enter_debugger_if(condition) ((void)0)
|
||||
|
||||
#else // NDEBUG
|
||||
|
||||
#define nassertr(condition, return_value) \
|
||||
@ -183,13 +181,6 @@ private:
|
||||
|
||||
#define nassert_raise(message) Notify::ptr()->assert_failure(message, __LINE__, __FILE__)
|
||||
|
||||
#define enter_debugger_if(condition) \
|
||||
if (_nassert_check(condition)) { \
|
||||
Notify::ptr()->assert_failure(#condition, __LINE__, __FILE__); \
|
||||
__asm { int 3 } \
|
||||
}
|
||||
|
||||
|
||||
#endif // NDEBUG
|
||||
|
||||
#if __cplusplus >= 201103
|
||||
|
Loading…
x
Reference in New Issue
Block a user