Merge remote-tracking branch 'origin/master' into master

This commit is contained in:
rusefillc 2020-10-22 11:18:31 -04:00
commit bbb3d118e8
1 changed files with 4 additions and 0 deletions

View File

@ -22,8 +22,12 @@
#ifndef COMMON_H_INCLUDED
#define COMMON_H_INCLUDED
#if !defined(MIN)
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#if !defined(MAX)
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
#define CLAMP(x, low, high) ({\
__typeof__(x) __x = (x); \