src/share/vm/utilities/macros.hpp

changeset 9806
758c07667682
parent 9140
f0c719f4f934
parent 9780
9148fcba5de9
child 9931
fd44df5e3bc3
     1.1 --- a/src/share/vm/utilities/macros.hpp	Tue Feb 04 17:38:01 2020 +0800
     1.2 +++ b/src/share/vm/utilities/macros.hpp	Tue Feb 04 18:13:14 2020 +0800
     1.3 @@ -434,6 +434,14 @@
     1.4  #define NOT_EMBEDDED(code) code
     1.5  #endif
     1.6  
     1.7 +#ifdef VM_LITTLE_ENDIAN
     1.8 +#define LITTLE_ENDIAN_ONLY(code) code
     1.9 +#define BIG_ENDIAN_ONLY(code)
    1.10 +#else
    1.11 +#define LITTLE_ENDIAN_ONLY(code)
    1.12 +#define BIG_ENDIAN_ONLY(code) code
    1.13 +#endif
    1.14 +
    1.15  #define define_pd_global(type, name, value) const type pd_##name = value;
    1.16  
    1.17  #endif // SHARE_VM_UTILITIES_MACROS_HPP

mercurial