aboutsummaryrefslogtreecommitdiff
path: root/tests/fp/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fp/platform.h')
-rw-r--r--tests/fp/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fp/platform.h b/tests/fp/platform.h
index c20ba70baa..6c72ad0cd0 100644
--- a/tests/fp/platform.h
+++ b/tests/fp/platform.h
@@ -29,9 +29,9 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config-host.h"
+#include "qemu/compiler.h"
-#ifndef HOST_WORDS_BIGENDIAN
+#if !HOST_BIG_ENDIAN
#define LITTLEENDIAN 1
/* otherwise do not define it */
#endif