aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-04-16 12:53:35 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-04-16 12:53:35 +0300
commit7c3d14eb1d103061939fdcad66bf2b27d78bc5b5 (patch)
tree215af173270e7d93496e9a9e14aeaaeeebea0be4 /builtin.c
parent4afe3d81ba9bdf9443fbdaa43bef47fc20b1eb4b (diff)
downloadegawk-7c3d14eb1d103061939fdcad66bf2b27d78bc5b5.tar.gz
egawk-7c3d14eb1d103061939fdcad66bf2b27d78bc5b5.tar.bz2
egawk-7c3d14eb1d103061939fdcad66bf2b27d78bc5b5.zip
Rename intdiv to intdiv0, require it to be configured in.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin.c b/builtin.c
index 87d9dcb8..b60d8b42 100644
--- a/builtin.c
+++ b/builtin.c
@@ -3971,6 +3971,7 @@ do_bindtextdomain(int nargs)
return make_string(the_result, strlen(the_result));
}
+#ifdef SUPPLY_INTDIV
/* do_intdiv --- do integer division, return quotient and remainder in dest array */
/*
@@ -4039,6 +4040,7 @@ do_intdiv(int nargs)
return make_number((AWKNUM) 0.0);
}
+#endif /* SUPPLY_INTDIV */
/* do_typeof --- return a string with the type of the arg */