summaryrefslogtreecommitdiff
path: root/src/win95/mishchnk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win95/mishchnk.cpp')
-rw-r--r--src/win95/mishchnk.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/win95/mishchnk.cpp b/src/win95/mishchnk.cpp
index 649eed2..a0e3795 100644
--- a/src/win95/mishchnk.cpp
+++ b/src/win95/mishchnk.cpp
@@ -10,17 +10,9 @@
#include "huffman.hpp"
-#ifdef cencon
-#define new my_new
-#endif
-
-
// Class Lockable_Chunk_With_Children functions
-#if cencon
-#else
extern char * users_name;
-#endif
//macro for helping to force inclusion of chunks when using libraries
FORCE_CHUNK_INCLUDE_IMPLEMENT(mishchnk)
@@ -1033,12 +1025,6 @@ BOOL File_Chunk::check_file()
}
-#if InterfaceEngine
-
- extern File_Chunk * Env_Chunk;
-
-#endif
-
BOOL File_Chunk::update_file()
{
@@ -1074,22 +1060,6 @@ BOOL File_Chunk::update_file()
#else
-#if InterfaceEngine
-
- // log, to track error
- char fname [256];
- char * dotpos;
-
- strcpy (fname, filename);
-
- dotpos = strrchr (fname, '.');
-
- sprintf (dotpos, ".log");
-
- FILE * log = fopen (fname, "a");
-
-#endif
-
if (!filename) return FALSE;
twprintf("Updating %s\n",filename);
@@ -1237,13 +1207,6 @@ BOOL File_Chunk::update_file()
ed = (Environment_Data_Chunk *)lookup_single_child ("REBENVDT");
if (ed)
{
-
-#if InterfaceEngine
-
- fprintf (log, "Env_Data %d %d %d %d", ed->updated, ed->local_lock, ed->updated_outside, ed->external_lock);
-
-#endif
-
if (ed->updated &&
!(ed->updated_outside || ed->external_lock))
ed->update_chunk_in_file(rif_file);
@@ -1272,11 +1235,6 @@ BOOL File_Chunk::update_file()
CloseHandle (rif_file);
-#if InterfaceEngine
-
- fclose (log);
-
-#endif
return TRUE;
#endif //DisableLock