Move UNITY_PRINT_EOL to internals to allow access to it.

Unity fixture needs access to this macro to be consistent.
Add #ifndef wrapper for easier redefinition on systems that use "\r\n".
This commit is contained in:
jsalling
2015-11-23 14:21:43 -06:00
parent c6dc96f387
commit 5fc2b092d3
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -291,6 +291,10 @@ typedef UNITY_DOUBLE_TYPE _UD;
extern int UNITY_OUTPUT_CHAR(int);
#endif
#ifndef UNITY_PRINT_EOL
#define UNITY_PRINT_EOL { UNITY_OUTPUT_CHAR('\n'); }
#endif
#ifndef UNITY_OUTPUT_START
#define UNITY_OUTPUT_START()
#endif