/* -- dfc.h -------------------------------------------------------------------- Version 1.0 /03/23/1987 Harald Halm - Olaf Zurth dfc.h enthaelt fuer die 'dodfc'-Benutzung notwendige Definitionen, sowie Besonderheiten verschiedener C-Compiler. -------------------------------------------------------------------------- */ #define MSDOS_MSC /* Wahl des Compilers */ /* -- Microsoft Version 3.0 ------------------------------------------------- */ #ifdef MSDOS_MSC #include #define R_PLUS_BIN "r+b" #endif /* -- Unix ------------------------------------------------------------------ */ #ifdef UNIX #define R_PLUS_BIN "r+" #endif /* -- Digital Research Version 1.2 ------------------------------------------ */ #ifdef CPM68k #define R_PLUS_BIN "r" #define void VOID extern FILE *fopen() #endif /* -- Konstantendefinitionen ------------------------------------------------ */ #define LISTING 0 #define SCRIPT 1 #define NO_DIFFERENCE 0 #define CMD_ERR (-1) #define NO_MEMORY (-2) #define BAD_SEEK (-3) /* -- Typdefinitionen ------------------------------------------------------- */ typedef struct dfc_par { FILE *fp_old; FILE *fp_new; FILE *fp_out; short int matches; short int style; } DFC_PAR; Bild 5. Die Header-Datei