summaryrefslogtreecommitdiff
path: root/src/core/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu')
-rw-r--r--src/core/cpu/builtins.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/cpu/builtins.cpp b/src/core/cpu/builtins.cpp
index 04f54a6..de99499 100644
--- a/src/core/cpu/builtins.cpp
+++ b/src/core/cpu/builtins.cpp
@@ -51,6 +51,7 @@
#include <iostream>
#include <cstring>
#include <cmath>
+#include <boost/math/special_functions.hpp>
#include <stdio.h>
@@ -401,6 +402,8 @@ static void read_imageuif(uint32_t *result, Image2D *image, float x, float y,
* Built-in functions generated by src/runtime/builtins.py
*/
+#define REPL(x) for (unsigned int i=0; i<x; ++i)
+
#include <runtime/builtins_impl.h>
/*