common: qvec: hack to allow including in qbsp

This commit is contained in:
Eric Wasylishen 2017-04-22 15:55:31 -06:00
parent 28081f50c6
commit fbaee78379
1 changed files with 2 additions and 0 deletions

View File

@ -20,8 +20,10 @@
#ifndef __COMMON_QVEC_HH__
#define __COMMON_QVEC_HH__
#ifndef qmax // FIXME: Remove this ifdef
#define qmax(a,b) (((a)>(b)) ? (a) : (b))
#define qmin(a,b) (((a)>(b)) ? (b) : (a))
#endif
template <int N, class T>
class qvec {