Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
GBP: add allowed ethertypes to contracts
[vpp.git]
/
src
/
vppinfra
/
math.h
diff --git
a/src/vppinfra/math.h
b/src/vppinfra/math.h
index
48f8c0f
..
cafa1cb
100644
(file)
--- a/
src/vppinfra/math.h
+++ b/
src/vppinfra/math.h
@@
-52,6
+52,14
@@
fabs (f64 x)
return __builtin_fabs (x);
}
+#ifndef isnan
+#define isnan(x) __builtin_isnan(x)
+#endif
+
+#ifndef isinf
+#define isinf(x) __builtin_isinf(x)
+#endif
+
#endif /* included_math_h */
/*