remove macros

This commit is contained in:
FelixKratz 2021-09-07 17:57:12 +02:00
parent 3d0cd574a2
commit e6dec87666

View file

@ -1,11 +0,0 @@
#ifndef MACROS_H
#define MACROS_H
#define array_count(a) (sizeof((a)) / sizeof(*(a)))
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
#define add_and_clamp_to_zero(a, b) (((a) + (b) <= 0) ? 0 : (a) + (b))
#define MAXLEN 512
#endif