Skip to content

Commit

Permalink
freebsd: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vlj authored and past-due committed Jan 2, 2024
1 parent b4e108e commit b9f9a8b
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 b9f9a8b

Please sign in to comment.