--- pgp/src/platform.h 2018/04/24 16:38:53 1.1 +++ pgp/src/platform.h 2018/04/24 16:39:36 1.1.1.2 @@ -78,6 +78,7 @@ #ifndef PORTABLE #ifdef MSDOS +#ifndef i386 /* gcc */ #define UNIT16 #define MUNIT16 #define mp_setp P_SETP @@ -89,6 +90,7 @@ #define mp_set_recip P_SETRECIP #define SMITH #define PLATFORM_SPECIFIED +#endif /* i386 */ #endif /* MSDOS */ #ifdef VMS @@ -171,6 +173,28 @@ #define PLATFORM_SPECIFIED #endif /* sparc */ +#if defined(mc68000) || defined(mc68020) +/* + * Needs mc68020.S + */ +#define UNIT32 +#define mp_setp P_SETP +#define mp_addc P_ADDC +#define mp_subb P_SUBB +#define mp_rotate_left P_ROTL +#define unitfill0(r,ct) memset((void*)r, 0, (ct)*sizeof(unit)) +#if defined(sun3) || defined(mc68020) +# define UPTON +# define MUNIT32 +# define mp_smul P_SMUL +# define mp_dmul P_DMUL +#else +# define SMITH +# define MUNIT16 +#endif +#define PLATFORM_SPECIFIED +#endif /* mc68000 */ + /* Add additional platforms here ... */ /**************** End of system specification ************************/