Skip to content

Commit

Permalink
libmatroska2: remove unused min/max macros
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jan 2, 2025
1 parent b87b542 commit bb92c9a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions libmatroska2/tremor/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#ifdef _WIN32
# include <malloc.h>
# define rint(x) (floor((x)+0.5f))
# define rint(x) (floor((x)+0.5f))
# define NO_FLOAT_MATH_LIB
# define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b))
# define LITTLE_ENDIAN 1
Expand All @@ -53,12 +53,4 @@
# include <memory.h>
#endif

#ifndef min
# define min(x,y) ((x)>(y)?(y):(x))
#endif

#ifndef max
# define max(x,y) ((x)<(y)?(y):(x))
#endif

#endif /* _OS_H */

0 comments on commit bb92c9a

Please sign in to comment.