Blame sysdeps/sparc/bits/endian.h
|
Packit |
6c4009 |
/* Sparc is big-endian, but v9 supports endian conversion on loads/stores
|
|
Packit |
6c4009 |
and GCC supports such a mode. Be prepared. */
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#ifndef _ENDIAN_H
|
|
Packit |
6c4009 |
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
Packit |
6c4009 |
#endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#ifdef __LITTLE_ENDIAN__
|
|
Packit |
6c4009 |
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
Packit |
6c4009 |
#else
|
|
Packit |
6c4009 |
# define __BYTE_ORDER __BIG_ENDIAN
|
|
Packit |
6c4009 |
#endif
|