Unity 5 changes the pause parameter from bool to int so the UnityPause declaration must be changed to account for this. The below declaration covers both Unity 4 and 5.
#if UNITY_VERSION < 500
void UnityPause( bool pause );
#else
void UnityPause( int pause );
#endif