equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
146 #endif // CHECK_UNHANDLED_OOPS |
146 #endif // CHECK_UNHANDLED_OOPS |
147 #if _MSC_VER >= 1400 |
147 #if _MSC_VER >= 1400 |
148 #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE |
148 #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE |
149 #endif |
149 #endif |
150 |
150 |
151 // Portability macros |
|
152 #define PRAGMA_INTERFACE |
|
153 #define PRAGMA_IMPLEMENTATION |
|
154 #define PRAGMA_IMPLEMENTATION_(arg) |
|
155 |
|
156 // Formatting. |
151 // Formatting. |
157 #define FORMAT64_MODIFIER "I64" |
152 #define FORMAT64_MODIFIER "I64" |
158 |
153 |
159 #define offset_of(klass,field) offsetof(klass,field) |
154 #define offset_of(klass,field) offsetof(klass,field) |
160 |
155 |