Browse Source

Fix header guard in error_macros.h

(cherry picked from commit e2dac6ecd9b5b657263953001294aa8560866853)
Marcel Admiraal 3 years ago
parent
commit
a957b4fb8c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      core/error_macros.h

+ 1 - 2
core/error_macros.h

@@ -518,8 +518,6 @@ void _err_flush_stdout();
 	} else                                                                                                                                                        \
 		((void)0)
 
-#endif
-
 /**
  * This should be a 'free' assert for program flow and should not be needed in any releases,
  *  only used in dev builds.
@@ -558,5 +556,6 @@ void _err_flush_stdout();
 		((void)0)
 #else
 #define DEV_CHECK_ONCE(m_cond)
+#endif
 
 #endif // ERROR_MACROS_H