| Index: runtime/vm/os_thread_fuchsia.cc
|
| diff --git a/runtime/vm/os_thread_fuchsia.cc b/runtime/vm/os_thread_fuchsia.cc
|
| index 481e59f3abf573c59f2bc92c6226c6b75523c318..7eeb11cc602589905c825a39d0ce7b9a33ba7d76 100644
|
| --- a/runtime/vm/os_thread_fuchsia.cc
|
| +++ b/runtime/vm/os_thread_fuchsia.cc
|
| @@ -16,9 +16,9 @@
|
|
|
| namespace dart {
|
|
|
| -#define VALIDATE_PTHREAD_RESULT(result) \
|
| - if (result != 0) { \
|
| - FATAL1("pthread error: %d", result); \
|
| +#define VALIDATE_PTHREAD_RESULT(result) \
|
| + if (result != 0) { \
|
| + FATAL1("pthread error: %d", result); \
|
| }
|
|
|
|
|
| @@ -31,16 +31,15 @@ namespace dart {
|
|
|
|
|
| #ifdef DEBUG
|
| -#define RETURN_ON_PTHREAD_FAILURE(result) \
|
| - if (result != 0) { \
|
| - const int kBufferSize = 1024; \
|
| - char error_buf[kBufferSize]; \
|
| - fprintf(stderr, "%s:%d: pthread error: %d\n", \
|
| - __FILE__, __LINE__, result); \
|
| - return result; \
|
| +#define RETURN_ON_PTHREAD_FAILURE(result) \
|
| + if (result != 0) { \
|
| + const int kBufferSize = 1024; \
|
| + char error_buf[kBufferSize]; \
|
| + fprintf(stderr, "%s:%d: pthread error: %d\n", __FILE__, __LINE__, result); \
|
| + return result; \
|
| }
|
| #else
|
| -#define RETURN_ON_PTHREAD_FAILURE(result) \
|
| +#define RETURN_ON_PTHREAD_FAILURE(result) \
|
| if (result != 0) return result;
|
| #endif
|
|
|
|
|