aboutsummaryrefslogtreecommitdiff
path: root/src/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.c')
-rw-r--r--src/environment.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/environment.c b/src/environment.c
index 0cbeb0fc..fb8bd766 100644
--- a/src/environment.c
+++ b/src/environment.c
@@ -10,8 +10,8 @@
#include "stdlib/datatypes.h"
#include "stdlib/tables.h"
#include "stdlib/text.h"
-#include "stdlib/util.h"
#include "typecheck.h"
+#include "util.h"
type_t *TEXT_TYPE = NULL;
public
@@ -132,11 +132,6 @@ env_t *global_env(bool source_mapping) {
{"parse", "Int$parse", "func(text:Text, base:Int?=none, remainder:&Text?=none -> Int?)"}, //
{"plus", "Int$plus", "func(x,y:Int -> Int)"}, //
{"power", "Int$power", "func(base:Int,exponent:Int -> Int)"}, //
-#if __GNU_MP_VERSION >= 6
-#if __GNU_MP_VERSION_MINOR >= 3
- {"prev_prime", "Int$prev_prime", "func(x:Int -> Int?)"}, //
-#endif
-#endif
{"right_shifted", "Int$right_shifted", "func(x,y:Int -> Int)"}, //
{"sqrt", "Int$sqrt", "func(x:Int -> Int?)"}, //
{"times", "Int$times", "func(x,y:Int -> Int)"}, //