From a0d6ed0b4ce28aa06eefc9ad9dab27582b29344a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 23 Jan 2006 21:56:18 +0000 Subject: Include the config header so that endianness is dealt with correctly Subversion-branch: /trunk/chocolate-doom Subversion-revision: 340 --- src/m_swap.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/m_swap.h b/src/m_swap.h index 9774e723..87bef799 100644 --- a/src/m_swap.h +++ b/src/m_swap.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: m_swap.h 255 2006-01-05 02:48:03Z fraggle $ +// $Id: m_swap.h 340 2006-01-23 21:56:18Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -31,6 +31,7 @@ #define __M_SWAP__ +#include "config.h" // Endianess handling. @@ -52,6 +53,9 @@ long SwapLONG(long); //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.6 2006/01/23 21:56:18 fraggle +// Include the config header so that endianness is dealt with correctly +// // Revision 1.5 2006/01/05 02:48:03 fraggle // Fixes for big endian machines (thanks locust) // -- cgit v1.2.3