summaryrefslogtreecommitdiff
path: root/generic/include/clc/math/fmax.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/include/clc/math/fmax.h')
-rw-r--r--generic/include/clc/math/fmax.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/generic/include/clc/math/fmax.h b/generic/include/clc/math/fmax.h
index 724aae5..d26e5d6 100644
--- a/generic/include/clc/math/fmax.h
+++ b/generic/include/clc/math/fmax.h
@@ -1,4 +1,11 @@
+#undef fmax
#define fmax __clc_fmax
-#define BODY <clc/math/fmax.inc>
+#define BODY <clc/math/binary_decl.inc>
+#define FUNCTION __clc_fmax
+
#include <clc/math/gentype.inc>
+
+#undef BODY
+#undef FUNCTION
+