mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-31 11:12:04 +00:00
rev180: Sync MinMax.h with upstream
Remove previously disablement of #define since now it compiles properly. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
aa7219cae7
commit
d7ebbb364b
@ -60,7 +60,7 @@
|
||||
|
||||
|
||||
#ifndef _MIN_MAX_H_
|
||||
//#define _MIN_MAX_H_
|
||||
#define _MIN_MAX_H_
|
||||
|
||||
#ifndef MAX
|
||||
# define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
@ -68,5 +68,10 @@
|
||||
#ifndef MIN
|
||||
# define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#ifndef SIZEOF_MEMBER
|
||||
# define SIZEOF_MEMBER(type, member) sizeof(((type*)0)->member)
|
||||
#endif
|
||||
|
||||
#endif // _MIN_MAX_H_
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user