| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_GLOBALS_H_ | 5 #ifndef VM_GLOBALS_H_ |
| 6 #define VM_GLOBALS_H_ | 6 #define VM_GLOBALS_H_ |
| 7 | 7 |
| 8 // __STDC_FORMAT_MACROS has to be defined to enable platform independent printf. | 8 // __STDC_FORMAT_MACROS has to be defined to enable platform independent printf. |
| 9 #ifndef __STDC_FORMAT_MACROS | 9 #ifndef __STDC_FORMAT_MACROS |
| 10 #define __STDC_FORMAT_MACROS | 10 #define __STDC_FORMAT_MACROS |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #undef PARITY_EVEN | 26 #undef PARITY_EVEN |
| 27 #undef PARITY_ODD | 27 #undef PARITY_ODD |
| 28 #undef near | 28 #undef near |
| 29 #endif | 29 #endif |
| 30 | 30 |
| 31 #if !defined(_WIN32) | 31 #if !defined(_WIN32) |
| 32 #include <inttypes.h> | 32 #include <inttypes.h> |
| 33 #include <stdint.h> | 33 #include <stdint.h> |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 #include <float.h> |
| 36 #include <math.h> | 37 #include <math.h> |
| 37 #include <openssl/bn.h> | 38 #include <openssl/bn.h> |
| 38 #include <stdarg.h> | 39 #include <stdarg.h> |
| 39 #include <stddef.h> | 40 #include <stddef.h> |
| 40 #include <stdio.h> | 41 #include <stdio.h> |
| 41 #include <stdlib.h> | 42 #include <stdlib.h> |
| 42 #include <string.h> | 43 #include <string.h> |
| 43 #include <sys/types.h> | 44 #include <sys/types.h> |
| 44 | 45 |
| 45 #if defined(_WIN32) | 46 #if defined(_WIN32) |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // contants are 16 byte aligned. | 341 // contants are 16 byte aligned. |
| 341 #if defined(TARGET_OS_WINDOWS) | 342 #if defined(TARGET_OS_WINDOWS) |
| 342 #define ALIGN16 __declspec(align(16)) | 343 #define ALIGN16 __declspec(align(16)) |
| 343 #else | 344 #else |
| 344 #define ALIGN16 __attribute__((aligned(16))) | 345 #define ALIGN16 __attribute__((aligned(16))) |
| 345 #endif | 346 #endif |
| 346 | 347 |
| 347 } // namespace dart | 348 } // namespace dart |
| 348 | 349 |
| 349 #endif // VM_GLOBALS_H_ | 350 #endif // VM_GLOBALS_H_ |
| OLD | NEW |