1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-18 07:41:44 +02:00

Move endian-related defs from tdep-ia64.h to here.

(Logical change 1.75)
This commit is contained in:
mostang.com!davidm 2003-04-03 07:59:15 +00:00
parent 4f8ab6abb9
commit a04f38ef19

View file

@ -39,6 +39,18 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <pthread.h>
#include <signal.h>
#ifdef HAVE_ENDIAN_H
# include <endian.h>
#else
# define __LITTLE_ENDIAN 1234
# define __BIG_ENDIAN 4321
# if defined(__hpux)
# define __BYTE_ORDER __LITTLE_ENDIAN
# else
# error Host has unknown byte-order.
# endif
#endif
#ifdef __GNUC__
# if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
# define HIDDEN __attribute__((visibility ("hidden")))