Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
19
Src/Wasabi/bfc/platform/minmax.h
Normal file
19
Src/Wasabi/bfc/platform/minmax.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef NULLSOFT_BFC_PLATFORM_MINMAX_H
|
||||
#define NULLSOFT_BFC_PLATFORM_MINMAX_H
|
||||
|
||||
#if defined(_WIN32) && !defined(MIN)
|
||||
#define MIN( a, b ) ((a>b)?b:a)
|
||||
#define MAX( a, b ) ((a>b)?a:b)
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && !defined(MIN)
|
||||
#define MIN( a, b ) ((a>b)?b:a)
|
||||
#define MAX( a, b ) ((a>b)?a:b)
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && !defined(MIN)
|
||||
#define MIN( a, b ) ((a>b)?b:a)
|
||||
#define MAX( a, b ) ((a>b)?a:b)
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue