Fix CGG build

This commit is contained in:
Stas Degteff 2006-05-13 14:51:29 +00:00
parent 82a9dd712a
commit 48908d77d9
2 changed files with 4 additions and 2 deletions

View File

@ -2986,7 +2986,7 @@ static bool CheckLevel(const char* imp, const char* imp2, int n, int &current_ta
if (!CharTable) CharTable = (Chs*)throw_calloc(1, sizeof(Chs)); if (!CharTable) CharTable = (Chs*)throw_calloc(1, sizeof(Chs));
fp.FseekSet(n, sizeof(Chs)); fp.FseekSet(n, sizeof(Chs));
fp.Fread(CharTable, sizeof(Chs)); fp.Fread(CharTable, sizeof(Chs));
ChsTP = CharTable->t; ChsTP = CharTable->t;
current_table = n; current_table = n;

View File

@ -40,7 +40,9 @@
#include <gstrall.h> #include <gstrall.h>
#include <csignal> #include <csignal>
#include <iostream> #include <iostream>
#include <sstream> #if __GNUC__ +0 > 2
#include <sstream>
#endif
#include <iomanip> #include <iomanip>
// Wrappers for certain mostly DOS/Borland headers // Wrappers for certain mostly DOS/Borland headers
#include <gshare.h> #include <gshare.h>