diff --git a/release/version.info b/release/version.info index 6e1f4db..0d71c08 100644 --- a/release/version.info +++ b/release/version.info @@ -1,2 +1,2 @@ -2.0.0 +2.0 diff --git a/src/unity_internals.h b/src/unity_internals.h index 28d595d..d1db0da 100644 --- a/src/unity_internals.h +++ b/src/unity_internals.h @@ -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