Do not #include time.h globally (ideally, we should provide a localtime clone in OSystem so we can completly get rid of this)
svn-id: r29919
This commit is contained in:
parent
93ccd61b7e
commit
6d37f5ccd8
5 changed files with 8 additions and 1 deletions
|
@ -114,7 +114,6 @@
|
|||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
|
||||
#endif
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
#include "sound/mididrv.h"
|
||||
#include "sound/mods/protracker.h"
|
||||
|
||||
#include <time.h> // for AGOSEngine::getTime()
|
||||
|
||||
using Common::File;
|
||||
|
||||
namespace AGOS {
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#include "gob/scenery.h"
|
||||
#include "gob/sound.h"
|
||||
|
||||
#include <time.h> // FIXME: for Inter::renewTimeInVars()
|
||||
|
||||
namespace Gob {
|
||||
|
||||
Inter::Inter(GobEngine *vm) : _vm(vm) {
|
||||
|
|
|
@ -46,6 +46,8 @@
|
|||
#include "sound/audiocd.h"
|
||||
#include "sound/mixer.h"
|
||||
|
||||
#include <time.h> // for ScummEngine::saveInfos / ScummEngine::loadInfos
|
||||
|
||||
namespace Scumm {
|
||||
|
||||
struct SaveGameHeader {
|
||||
|
|
|
@ -45,6 +45,8 @@
|
|||
#include "sound/mididrv.h"
|
||||
#include "sound/mixer.h"
|
||||
|
||||
#include <time.h> // for ScummEngine_v6::o6_getDateTime()
|
||||
|
||||
namespace Scumm {
|
||||
|
||||
#define OPCODE(x) _OPCODE(ScummEngine_v6, x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue