Skip to content

Commit f8007b5

Browse files
committed
rt: Remove the problematic min()/max()/align()/abs() macros from isaac/standard.h, as they're unused
1 parent 18c6cc6 commit f8007b5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/rt/isaac/standard.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@ typedef int word; /* fastest type available */
3838
#define bis(target,mask) ((target) |= (mask))
3939
#define bic(target,mask) ((target) &= ~(mask))
4040
#define bit(target,mask) ((target) & (mask))
41-
#ifndef min
42-
# define min(a,b) (((a)<(b)) ? (a) : (b))
43-
#endif /* min */
44-
#ifndef max
45-
# define max(a,b) (((a)<(b)) ? (b) : (a))
46-
#endif /* max */
47-
#ifndef align
48-
# define align(a) (((ub4)a+(sizeof(void *)-1))&(~(sizeof(void *)-1)))
49-
#endif /* align */
50-
#ifndef abs
51-
# define abs(a) (((a)>0) ? (a) : -(a))
52-
#endif
5341
#define TRUE 1
5442
#define FALSE 0
5543
#define SUCCESS 0 /* 1 on VAX */

0 commit comments

Comments
 (0)