mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-09-25 18:17:14 +00:00
ifndef MIN() & MAX() macros
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user