projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exp10 replaced with pow when exp10 is not available
[pspp]
/
src
/
ui
/
gui
/
find-dialog.c
diff --git
a/src/ui/gui/find-dialog.c
b/src/ui/gui/find-dialog.c
index 2ff619a60a25c0c974dcc62092a97a7a40d9f540..01abc0c81644c2a7d6c8e07a83050bbc641f9428 100644
(file)
--- a/
src/ui/gui/find-dialog.c
+++ b/
src/ui/gui/find-dialog.c
@@
-49,6
+49,13
@@
which match particular strings */
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid
+/* Some systems like MacOS do not have exp10 */
+#ifndef HAVE_EXP10
+inline static double exp10(double x)
+{
+ return pow(10.0, x);
+}
+#endif
struct find_dialog
{