// diffbin.h
// Master header file for diffbin

#include <windows.h>

#ifndef UNDER_CE
#include <sys/types.h>
#include <sys/stat.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <string.h>

#include "nkcompr.h"
#include "cecompr.h"
#include "ehm.h"
#include "utils.h"
#include "hashtbl.h"
#include "pehdr.h"
#include "romldr.h"
#include "mapfile.h"
#include "runlist.h"
#include "imgdata.h"
#include "reloc.h"
#include "tt.h"


#define RETAILMSG(cond,printf_exp)   \
   ((cond)?(printf printf_exp),1:0)

extern DWORD   g_dwZoneMask;

#define ZONE_VERBOSE        (g_dwZoneMask & 0x00000001)
#define ZONE_PARSE_VERBOSE  (g_dwZoneMask & 0x00000002)
#define ZONE_FIXUP          (g_dwZoneMask & 0x00000004)
#define ZONE_FIXUP_VERBOSE  (g_dwZoneMask & 0x00000008)
#define ZONE_PROGRESS       (g_dwZoneMask & 0x00000010)
#define ZONE_DECOMPRESS     (g_dwZoneMask & 0x00000020)

