Skip to content

Commit

Permalink
freebsd: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vlj committed Dec 31, 2023
1 parent 09ffa36 commit d5e4c06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/framework/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@
#ifndef MACROS_H
#define MACROS_H

#ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif

#ifndef MAX
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif

#define ABSDIF(a,b) ((a)>(b) ? (a)-(b) : (b)-(a))

Expand Down

0 comments on commit d5e4c06

Please sign in to comment.