Merge pull request #186 from xfxdev/nativescript-1.1

Fix compile error of 'WARN_PRINT' and 'ERR_PRINT'.
pull/190/head
Thomas Herzog 2018-10-06 14:34:11 +02:00 committed by GitHub
commit b4ab2d2d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ typedef float real_t;
#endif #endif
#ifndef WARN_PRINTS #ifndef WARN_PRINTS
#define WARN_PRINTS(msg) WARN_PRINT(msg.utf8().get_data()) #define WARN_PRINTS(msg) WARN_PRINT((msg).utf8().get_data())
#endif #endif
#ifndef ERR_PRINT #ifndef ERR_PRINT
@ -121,7 +121,7 @@ typedef float real_t;
#endif #endif
#ifndef ERR_PRINTS #ifndef ERR_PRINTS
#define ERR_PRINTS(msg) ERR_PRINT(msg.utf8().get_data()) #define ERR_PRINTS(msg) ERR_PRINT((msg).utf8().get_data())
#endif #endif
#ifndef ERR_FAIL #ifndef ERR_FAIL