shithub: choc

Download patch

ref: a0d6ed0b4ce28aa06eefc9ad9dab27582b29344a
parent: 7e3ee003d57cc4ca48f760066c6be19ba3002bc9
author: Simon Howard <[email protected]>
date: Mon Jan 23 16:56:18 EST 2006

Include the config header so that endianness is dealt with correctly

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 340

--- 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 @@
 //-----------------------------------------------------------------------------
 //
 // $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)
 //