mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-20 05:50:29 +08:00
- version file is just going to have major and minor... leave build for the other file (which will hopefully be automatic someday).
- only extern the output function when it's custom. git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@113 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
2.0.0
|
||||
2.0
|
||||
|
||||
|
@ -117,10 +117,12 @@ typedef UNITY_FLOAT_TYPE _UF;
|
||||
//-------------------------------------------------------
|
||||
|
||||
#ifndef UNITY_OUTPUT_CHAR
|
||||
//Default to using putchar, which is defined in stdio.h above
|
||||
#define UNITY_OUTPUT_CHAR(a) putchar(a)
|
||||
#endif
|
||||
|
||||
#else
|
||||
//If defined as something else, make sure we declare it here so it's ready for use
|
||||
extern int UNITY_OUTPUT_CHAR(int);
|
||||
#endif
|
||||
|
||||
//-------------------------------------------------------
|
||||
// Footprint
|
||||
|
Reference in New Issue
Block a user