diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ChangeLog | 5 | ||||
-rw-r--r-- | tools/gpgsplit.c | 11 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog index d34913df0..466a71569 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,8 @@ +2003-12-28 Stefan Bellon <[email protected]> + + * gpgsplit.c [__riscos__]: Removal of unnecessary #ifdef + __riscos__ sections. + 2003-12-06 David Shaw <[email protected]> * gpgsplit.c (write_part): Split off decompression code. diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c index 8d3349eec..856e9aa29 100644 --- a/tools/gpgsplit.c +++ b/tools/gpgsplit.c @@ -37,10 +37,9 @@ #ifdef HAVE_BZIP2 #include <bzlib.h> #endif /* HAVE_BZIP2 */ -#ifdef __riscos__ +#if defined(__riscos__) && defined(USE_ZLIBRISCOS) # include "zlib-riscos.h" -# include <unixlib/local.h> -#endif /* __riscos__ */ +#endif #define INCLUDED_BY_MAIN_MODULE 1 #include "../g10/packet.h" @@ -114,10 +113,6 @@ main( int argc, char **argv ) { ARGPARSE_ARGS pargs; -#ifdef __riscos__ - /* set global RISC OS specific properties */ - __riscosify_control = __RISCOSIFY_NO_PROCESS; -#endif /* __riscos__ */ #ifdef HAVE_DOSISH_SYSTEM setmode( fileno(stdin), O_BINARY ); setmode( fileno(stdout), O_BINARY ); @@ -533,7 +528,7 @@ write_part ( const char *fname, FILE *fpin, unsigned long pktlen, unsigned char *p; const char *outname = create_filename (pkttype); -#ifdef __riscos__ +#if defined(__riscos__) && defined(USE_ZLIBRISCOS) static int initialized = 0; if (!initialized) |