File diff r27869:dc15a02a4e81 → r27870:7c06e9e1a86b
src/stdafx.h
Show inline comments
 
@@ -394,6 +394,10 @@ void NORETURN AssertFailedError(int line
 
#	define assert(expression) if (unlikely(!(expression))) AssertFailedError(__LINE__, __FILE__, #expression);
 
#endif
 

	
 
/* Define JSON_ASSERT, which is used by nlohmann-json. Otherwise the header-file
 
 * will re-include assert.h, and reset the assert macro. */
 
#define JSON_ASSERT(x) assert(x)
 

	
 
#if defined(MAX_PATH)
 
	/* It's already defined, no need to override */
 
#elif defined(PATH_MAX) && PATH_MAX > 0