mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 01:40:28 +00:00
28 lines
610 B
C
28 lines
610 B
C
#ifndef CONFIG_COMMON_H_A4B25A33_74EC_435F_95DD_9738A7A23EA9
|
|
#define CONFIG_COMMON_H_A4B25A33_74EC_435F_95DD_9738A7A23EA9
|
|
|
|
#ifndef __cplusplus
|
|
#ifdef HAVE_STDBOOL_H
|
|
# include <stdbool.h>
|
|
#else
|
|
# ifndef HAVE__BOOL
|
|
# ifdef __cplusplus
|
|
typedef bool _Bool;
|
|
# else
|
|
# define _Bool signed char
|
|
# endif
|
|
# endif
|
|
# define bool _Bool
|
|
# define false 0
|
|
# define true 1
|
|
# define __bool_true_false_are_defined 1
|
|
#endif
|
|
#endif // ! defined __cplusplus
|
|
|
|
#undef MIN
|
|
#define MIN(a,b) (((a)<(b))?(a):(b))
|
|
#undef MAX
|
|
#define MAX(a,b) (((a)>(b))?(a):(b))
|
|
|
|
#endif // defined CONFIG_COMMON_H_A4B25A33_74EC_435F_95DD_9738A7A23EA9
|