windows ce compiler (vs2005) requires different order for the include files, or else it chokes.

If this order does not cause problems with the other ports, we can drop the #ifdef and use this one.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1295 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
knakos 2007-01-18 16:45:22 +00:00
parent c0636ef528
commit 0930cebb1b
8 changed files with 41 additions and 8 deletions

View File

@ -14,12 +14,16 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: EventHandler.cxx,v 1.196 2007-01-13 15:55:14 stephena Exp $ // $Id: EventHandler.cxx,v 1.197 2007-01-18 16:45:21 knakos Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
#include <SDL.h> #include <SDL.h>
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#endif
#include "Event.hxx" #include "Event.hxx"
#include "EventHandler.hxx" #include "EventHandler.hxx"
#include "EventStreamer.hxx" #include "EventStreamer.hxx"

View File

@ -13,12 +13,16 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: FSNode.cxx,v 1.7 2007-01-01 18:04:48 stephena Exp $ // $Id: FSNode.cxx,v 1.8 2007-01-18 16:45:21 knakos Exp $
// //
// Based on code from ScummVM - Scumm Interpreter // Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project // Copyright (C) 2002-2004 The ScummVM project
//============================================================================ //============================================================================
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#endif
#include "bspf.hxx" #include "bspf.hxx"
#include "GuiUtils.hxx" #include "GuiUtils.hxx"
#include "FSNode.hxx" #include "FSNode.hxx"

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: OSystem.cxx,v 1.92 2007-01-06 16:28:38 stephena Exp $ // $Id: OSystem.cxx,v 1.93 2007-01-18 16:45:21 knakos Exp $
//============================================================================ //============================================================================
#include <cassert> #include <cassert>
@ -30,6 +30,10 @@
#include "CheatManager.hxx" #include "CheatManager.hxx"
#endif #endif
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#endif
#include "unzip.h" #include "unzip.h"
#include "MD5.hxx" #include "MD5.hxx"
#include "FSNode.hxx" #include "FSNode.hxx"

View File

@ -13,12 +13,16 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: BrowserDialog.cxx,v 1.24 2007-01-01 18:04:52 stephena Exp $ // $Id: BrowserDialog.cxx,v 1.25 2007-01-18 16:45:22 knakos Exp $
// //
// Based on code from ScummVM - Scumm Interpreter // Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project // Copyright (C) 2002-2004 The ScummVM project
//============================================================================ //============================================================================
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#endif
#include "OSystem.hxx" #include "OSystem.hxx"
#include "Widget.hxx" #include "Widget.hxx"
#include "StringListWidget.hxx" #include "StringListWidget.hxx"

View File

@ -13,12 +13,16 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: FileSnapDialog.cxx,v 1.3 2007-01-07 01:26:52 stephena Exp $ // $Id: FileSnapDialog.cxx,v 1.4 2007-01-18 16:45:22 knakos Exp $
// //
// Based on code from ScummVM - Scumm Interpreter // Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project // Copyright (C) 2002-2004 The ScummVM project
//============================================================================ //============================================================================
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#endif
#include "DialogContainer.hxx" #include "DialogContainer.hxx"
#include "BrowserDialog.hxx" #include "BrowserDialog.hxx"
#include "TabWidget.hxx" #include "TabWidget.hxx"

View File

@ -13,9 +13,13 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: Launcher.cxx,v 1.12 2007-01-10 20:29:10 stephena Exp $ // $Id: Launcher.cxx,v 1.13 2007-01-18 16:45:22 knakos Exp $
//============================================================================ //============================================================================
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "LauncherDialog.hxx"
#endif
#include "Version.hxx" #include "Version.hxx"
#include "OSystem.hxx" #include "OSystem.hxx"
#include "Settings.hxx" #include "Settings.hxx"

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: LauncherDialog.cxx,v 1.66 2007-01-12 16:03:10 stephena Exp $ // $Id: LauncherDialog.cxx,v 1.67 2007-01-18 16:45:22 knakos Exp $
// //
// Based on code from ScummVM - Scumm Interpreter // Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project // Copyright (C) 2002-2004 The ScummVM project
@ -21,6 +21,11 @@
#include <sstream> #include <sstream>
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#include "BrowserDialog.hxx"
#endif
#include "OSystem.hxx" #include "OSystem.hxx"
#include "Settings.hxx" #include "Settings.hxx"
#include "PropsSet.hxx" #include "PropsSet.hxx"

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: LauncherDialog.hxx,v 1.24 2007-01-01 18:04:53 stephena Exp $ // $Id: LauncherDialog.hxx,v 1.25 2007-01-18 16:45:22 knakos Exp $
// //
// Based on code from ScummVM - Scumm Interpreter // Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project // Copyright (C) 2002-2004 The ScummVM project
@ -31,6 +31,10 @@ class StringListWidget;
class ButtonWidget; class ButtonWidget;
class OSystem; class OSystem;
#ifdef _WIN32_WCE
// different include order for the ce compiler
#include "FSNode.hxx"
#endif
#include "Dialog.hxx" #include "Dialog.hxx"
#include "FSNode.hxx" #include "FSNode.hxx"
#include "GameList.hxx" #include "GameList.hxx"