00001 00019 #ifndef MINMAX_H 00020 #define MINMAX_H 00021 00022 /* ================= 00023 Include Files and Type Defines 00024 ==================== */ 00025 00026 /* ================= 00027 Public Function Prototypes 00028 ==================== */ 00029 00030 #ifndef MAX 00031 #define MAX(x,y) (((x)>=(y))?(x):(y)) 00032 #endif 00033 00034 #ifndef MIN 00035 #define MIN(x,y) (((x)<=(y))?(x):(y)) 00036 #endif 00037 00038 /* ================= 00039 Global Data Definitions and Declarations 00040 ==================== */ 00041 #endif