Files
UltraGrid/src/config_common.h
2021-02-10 15:38:15 +01:00

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