endian.h (e15a4534) endian.h (11ac63c8)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 21 unchanged lines hidden (view full) ---

30extern "C" {
31#endif
32
33/** Determine the platform byte order as _BIG_ENDIAN, _LITTLE_ENDIAN, ...
34 */
35#ifdef _WIN32
36# if defined(_M_IX86)
37# define _LITTLE_ENDIAN
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 21 unchanged lines hidden (view full) ---

30extern "C" {
31#endif
32
33/** Determine the platform byte order as _BIG_ENDIAN, _LITTLE_ENDIAN, ...
34 */
35#ifdef _WIN32
36# if defined(_M_IX86)
37# define _LITTLE_ENDIAN
38# elif defined(_M_AMD64)
39# define _LITTLE_ENDIAN
38# elif defined(_M_MRX000)
39# define _LITTLE_ENDIAN
40# elif defined(_M_ALPHA)
41# define _LITTLE_ENDIAN
42# elif defined(_M_PPC)
43# define _LITTLE_ENDIAN
44# endif
45#endif

--- 184 unchanged lines hidden ---
40# elif defined(_M_MRX000)
41# define _LITTLE_ENDIAN
42# elif defined(_M_ALPHA)
43# define _LITTLE_ENDIAN
44# elif defined(_M_PPC)
45# define _LITTLE_ENDIAN
46# endif
47#endif

--- 184 unchanged lines hidden ---