Commit 18d35043 authored by Christophe Favergeon's avatar Christophe Favergeon
Browse files

Corrected issue #85

Add compilation tests for MIN/MAX macro definitions.
parent d1bf6fe5
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -40,9 +40,13 @@ extern "C"

#define INDEX_MASK         0x0000003F

#ifndef MIN
  #define MIN(x,y) ((x) < (y) ? (x) : (y))
#endif 

#ifndef MAX
  #define MAX(x,y) ((x) > (y) ? (x) : (y))
#endif 

#define SQ(x) ((x) * (x))