#ifndef __MSDEFS__ #define __MSDEFS__ /* * MSDEFS.H Useful definitions * * Copyright (c) 1991 Shal Farley * Cheshire Engineering Corporation * 650 Sierra Madre Villa Avenue, Suite 201 * Pasadena, California 91107 * (818) 351-5493 * (818) 351-8645 FAX * shal@alumni.caltech.edu * * This software may be used and distributed for any purpose without license or * royalty payments so long as the above copyright notice is preserved. If you * have any comments, bug fixes, improvements, or new programs based upon this * software I'd like to hear from you. */ #define MIN(x,y) ((x)<(y)?(x):(y)) #define MAX(x,y) ((x)>(y)?(x):(y)) #define LSB(x) ((x) & 0xFF) #define MSB(x) ((x) >> 8 & 0xFF) #ifdef rt11 #ifdef decus #define SEEK_SET 0 #define FILENAME_MAX 21 /* longest fopen("DEV:FILNAM.TYP[65535]") */ #endif /* decus */ #ifdef ghs #define SEEK_SET 0 #define FILENAME_MAX 21 #endif /* ghs */ #endif /* rt11 */ #endif /*__MSDEFS__*/