1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-26 09:51:36 +01:00

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

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