diff options
| author | Alex Bevilacqua | 2011-02-16 14:58:22 -0500 | 
|---|---|---|
| committer | Alex Bevilacqua | 2011-02-16 14:58:22 -0500 | 
| commit | 75c99ac175c235956b76cc230c6bd44e42de58eb (patch) | |
| tree | 2bda59c1e1aec0e79c9802a0c0ea7f2637a16aa5 | |
| parent | 8156c70f77ea5a75b60dfb96f467dc540cead9ae (diff) | |
| download | scummvm-rg350-75c99ac175c235956b76cc230c6bd44e42de58eb.tar.gz scummvm-rg350-75c99ac175c235956b76cc230c6bd44e42de58eb.tar.bz2 scummvm-rg350-75c99ac175c235956b76cc230c6bd44e42de58eb.zip | |
TSAGE: fix tokenization issue in SYNC_ENUM in GCC
This needs to be tested in MSVC to ensure it doesn't now break Windows
builds with a different error ;)
| -rw-r--r-- | engines/tsage/saveload.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/tsage/saveload.h b/engines/tsage/saveload.h index 054d968105..efaa8d696e 100644 --- a/engines/tsage/saveload.h +++ b/engines/tsage/saveload.h @@ -52,8 +52,8 @@ struct tSageSavegameHeader {  /*--------------------------------------------------------------------------*/  #define SYNC_POINTER(x) s.syncPointer((SavedObject **)&x) -#define SYNC_ENUM(FIELD, TYPE) int v_##FIELD## = (int)FIELD; s.syncAsUint16LE(v_##FIELD##); \ -	if (s.isLoading()) FIELD = (TYPE)v_##FIELD##; +#define SYNC_ENUM(FIELD, TYPE) int v_##FIELD = (int)FIELD; s.syncAsUint16LE(v_##FIELD); \ +	if (s.isLoading()) FIELD = (TYPE)v_##FIELD;  /**   * Derived serialiser class with extra synchronisation types | 
