Skip to content

Commit bb8cb77

Browse files
committed
reordering import to ensure preprocessor variables are set
1 parent 2ec7a6b commit bb8cb77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

auth/src/ios/user_ios.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17+
#include "app/src/time.h"
18+
#include "auth/src/ios/common_ios.h"
19+
1720
#if FIREBASE_PLATFORM_IOS
1821
#import "FIRPhoneAuthCredential.h"
1922
#endif
2023

21-
#include "app/src/time.h"
22-
#include "auth/src/ios/common_ios.h"
23-
2424
namespace firebase {
2525
namespace auth {
2626

@@ -245,7 +245,7 @@ explicit IOSWrappedUserInfo(id<FIRUserInfo> user_info) : user_info_(user_info) {
245245
futures.Complete(handle, kAuthErrorInvalidCredential, kInvalidCredentialMessage);
246246
}
247247

248-
#else // non iOS Apple platform
248+
#else // non iOS Apple platforms (eg: tvOS).
249249
futures.Complete(handle, kAuthErrorApiNotAvailable,
250250
"Phone Auth is not supported on non-iOS apple platforms.");
251251
#endif // FIREBASE_PLATFORM_IOS

0 commit comments

Comments
 (0)