Removed dependency on algorithm (#748)

This commit is contained in:
jgromes 2023-05-15 20:34:19 +02:00
parent acf683b91b
commit c2b9e19551

View file

@ -314,11 +314,15 @@
#define OCT 8 #define OCT 8
#define BIN 2 #define BIN 2
#include <algorithm>
#include <stdint.h> #include <stdint.h>
using std::max; #if !defined(min)
using std::min; #define min(a,b) ((a)<(b)?(a):(b))
#endif
#if !defined(max)
#define max(a,b) ((a)>(b)?(a):(b))
#endif
#endif #endif
/* /*