OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef SRC_SHARED_GLOBALS_H_ | 5 #ifndef SRC_SHARED_GLOBALS_H_ |
6 #define SRC_SHARED_GLOBALS_H_ | 6 #define SRC_SHARED_GLOBALS_H_ |
7 | 7 |
8 #ifndef __STDC_FORMAT_MACROS | 8 #ifndef __STDC_FORMAT_MACROS |
9 #define __STDC_FORMAT_MACROS | 9 #define __STDC_FORMAT_MACROS |
10 #endif | 10 #endif |
11 | 11 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 do { \ | 179 do { \ |
180 __result = (expression); \ | 180 __result = (expression); \ |
181 } while ((__result == -1L) && (errno == EINTR)); \ | 181 } while ((__result == -1L) && (errno == EINTR)); \ |
182 __result; \ | 182 __result; \ |
183 }) | 183 }) |
184 | 184 |
185 #define VOID_TEMP_FAILURE_RETRY(expression) \ | 185 #define VOID_TEMP_FAILURE_RETRY(expression) \ |
186 (static_cast<void>(TEMP_FAILURE_RETRY(expression))) | 186 (static_cast<void>(TEMP_FAILURE_RETRY(expression))) |
187 | 187 |
188 #endif // SRC_SHARED_GLOBALS_H_ | 188 #endif // SRC_SHARED_GLOBALS_H_ |
OLD | NEW |