Browse Source

Remove unused macros

rdb 8 years ago
parent
commit
2669cc8710
2 changed files with 0 additions and 21 deletions
  1. 0 12
      dtool/src/dtoolbase/dtoolbase.h
  2. 0 9
      dtool/src/prc/pnotify.h

+ 0 - 12
dtool/src/dtoolbase/dtoolbase.h

@@ -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

+ 0 - 9
dtool/src/prc/pnotify.h

@@ -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