OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 # define V8_OS_WIN32 1 | 59 # define V8_OS_WIN32 1 |
60 # define V8_OS_WIN64 1 | 60 # define V8_OS_WIN64 1 |
61 #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || \ | 61 #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || \ |
62 (defined(__MWERKS__) && defined(__INTEL__)) | 62 (defined(__MWERKS__) && defined(__INTEL__)) |
63 # define V8_OS_WIN32 1 | 63 # define V8_OS_WIN32 1 |
64 #elif defined(__sun) || defined(sun) | 64 #elif defined(__sun) || defined(sun) |
65 # define V8_OS_SOLARIS 1 | 65 # define V8_OS_SOLARIS 1 |
66 # define V8_OS_UNIX 1 | 66 # define V8_OS_UNIX 1 |
67 #elif defined(__native_client__) | 67 #elif defined(__native_client__) |
68 # define V8_OS_NACL 1 | 68 # define V8_OS_NACL 1 |
| 69 # define V8_OS_UNIX 1 |
69 #elif defined(__linux__) || defined(__linux) | 70 #elif defined(__linux__) || defined(__linux) |
70 # define V8_OS_LINUX 1 | 71 # define V8_OS_LINUX 1 |
71 # define V8_OS_UNIX 1 | 72 # define V8_OS_UNIX 1 |
72 #elif defined(__FreeBSD__) || defined(__DragonFly__) | 73 #elif defined(__FreeBSD__) || defined(__DragonFly__) |
73 # define V8_OS_FREEBSD 1 | 74 # define V8_OS_FREEBSD 1 |
74 # define V8_OS_BSD4 1 | 75 # define V8_OS_BSD4 1 |
75 # define V8_OS_UNIX 1 | 76 # define V8_OS_UNIX 1 |
76 #elif defined(__NetBSD__) | 77 #elif defined(__NetBSD__) |
77 # define V8_OS_NETBSD 1 | 78 # define V8_OS_NETBSD 1 |
78 # define V8_OS_BSD4 1 | 79 # define V8_OS_BSD4 1 |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 // the backend, so both modes are represented by the kStrictMode value. | 557 // the backend, so both modes are represented by the kStrictMode value. |
557 enum StrictModeFlag { | 558 enum StrictModeFlag { |
558 kNonStrictMode, | 559 kNonStrictMode, |
559 kStrictMode | 560 kStrictMode |
560 }; | 561 }; |
561 | 562 |
562 | 563 |
563 } } // namespace v8::internal | 564 } } // namespace v8::internal |
564 | 565 |
565 #endif // V8_GLOBALS_H_ | 566 #endif // V8_GLOBALS_H_ |
OLD | NEW |