mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
22 lines
477 B
C
22 lines
477 B
C
/* license:BSD-3-Clause
|
|
* copyright-holders:Aaron Giles
|
|
***************************************************************************
|
|
|
|
minmax.h
|
|
|
|
***************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#ifndef __MINMAX_H__
|
|
#define __MINMAX_H__
|
|
|
|
#if defined(RARCH_INTERNAL) || defined(__LIBRETRO__)
|
|
#include <retro_miscellaneous.h>
|
|
#else
|
|
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
|
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
|
#endif
|
|
|
|
#endif
|