mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Adding a new header for math related functions, beginning with new MIN/MAX macros, which will be used by subsequent commits. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
17 lines
339 B
C
17 lines
339 B
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
*/
|
|
#ifndef _XSERVER_OS_MATHX_PRIV_H_
|
|
#define _XSERVER_OS_MATHX_PRIV_H_
|
|
|
|
#ifndef MIN
|
|
#define MIN(a,b) (((a)<(b))?(a):(b))
|
|
#endif
|
|
|
|
#ifndef MAX
|
|
#define MAX(a,b) (((a)>(b))?(a):(b))
|
|
#endif
|
|
|
|
#endif /* _XSERVER_OS_MATHX_PRIV_H_ */
|