46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
*** a/ttyio.c Sat Jan 5 20:24:16 2008
|
|
--- b/ttyio.c Thu Apr 18 01:55:08 2019
|
|
***************
|
|
*** 62,67 ****
|
|
--- 62,70 ----
|
|
# define HAVE_TERMIOS_H /* POSIX termios.h */
|
|
# endif
|
|
#endif /* _POSIX_VERSION */
|
|
+ #if (defined(__E2K__) || defined(__e2k))
|
|
+ #define HAVE_TERMIO_H
|
|
+ #endif
|
|
|
|
#ifdef UNZIP /* Zip handles this with the unix/configure script */
|
|
# ifndef _POSIX_VERSION
|
|
*** a/unzpriv.h Sun Apr 19 23:59:26 2009
|
|
--- b/unzpriv.h Thu Apr 18 01:55:08 2019
|
|
***************
|
|
*** 111,116 ****
|
|
--- 111,119 ----
|
|
OS-dependent configuration for UnZip internals
|
|
---------------------------------------------------------------------------*/
|
|
|
|
+ #if (defined(__e2k) || defined(__E2K__))
|
|
+ # define INT_SPRINTF
|
|
+ #endif
|
|
/* Some compiler distributions for Win32/i386 systems try to emulate
|
|
* a Unix (POSIX-compatible) environment.
|
|
*/
|
|
***************
|
|
*** 2442,2448 ****
|
|
/* this obsolescent entry point kept for compatibility: */
|
|
int UzpUnzip OF((int argc, char **argv));/* use UzpMain */
|
|
#ifdef OS2DLL
|
|
! int varmessage OF((__GPRO__ ZCONST uch *buf, ulg size));
|
|
int varputchar OF((__GPRO__ int c)); /* rexxapi.c */
|
|
int finish_REXX_redirect OF((__GPRO)); /* rexxapi.c */
|
|
#endif
|
|
--- 2445,2451 ----
|
|
/* this obsolescent entry point kept for compatibility: */
|
|
int UzpUnzip OF((int argc, char **argv));/* use UzpMain */
|
|
#ifdef OS2DLL
|
|
! int varmessage OF((__GPRO__ uch *buf, ulg size));
|
|
int varputchar OF((__GPRO__ int c)); /* rexxapi.c */
|
|
int finish_REXX_redirect OF((__GPRO)); /* rexxapi.c */
|
|
#endif
|