﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
893	Add 'ifndef' to ohana.h to avoid multiple MIN, MAX, SWAP definitions	Michael Wood-Vasey	eugene	"The MIN, MAX, and SWAP macros in 'ohana.h' should be wrapped if 'ifndef's to avoid conflicts with other headers that define these common macros.  Sorry I didn't do up a .diff file, but in the installed copy of 'ohana.h' (which may not be quite the same as the copy in the source), replace lines 39-41 with 

/* Some useful macros: MIN, MAX, SWAP
   If they're already defined,
     we'll just assume they were defined the same way.  */
# ifndef MIN
# define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
# endif /* MIN */
# ifndef MAX
# define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
# endif /* MAX */
# ifndef SWAP
# define SWAP(X,Y) {double tmp=(X); (X) = (Y); (Y) = tmp;}
# endif /* SWAP */"	defect	closed	high		Ohana	unspecified	trivial	fixed		
