mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-23 11:31:41 +00:00
ifndef MIN() & MAX() macros
This commit is contained in:
parent
37df0d52bb
commit
98cd975328
@ -64,6 +64,14 @@
|
|||||||
#include "audio/mockingboard.h"
|
#include "audio/mockingboard.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(MIN)
|
||||||
|
#define MIN(a,b) (((a) <= (b)) ? (a) : (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(MAX)
|
||||||
|
#define MAX(a,b) (((a) >= (b)) ? (a) : (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
# if defined(__GNUC__)
|
# if defined(__GNUC__)
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
|
Loading…
Reference in New Issue
Block a user