[gimp] Revert finite() fix as it needs to be done in pdb and configure
- From: Alex Samorukov <asamorukov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert finite() fix as it needs to be done in pdb and configure
- Date: Wed, 6 Nov 2019 20:22:55 +0000 (UTC)
commit 00106b1d458133e239983948db415616649e7a6a
Author: Oleksii Samorukov <samm os2 kiev ua>
Date: Wed Nov 6 21:16:26 2019 +0100
Revert finite() fix as it needs to be done in pdb and configure
(cherry picked from commit 4cd23c64e979a59ce710d1bb3e53389d6f8ff338)
app/core/gimp-transform-resize.c | 5 ++---
app/core/gimpcurve-map.c | 5 ++---
app/core/gimpdrawable-transform.c | 5 ++---
app/pdb/image-cmds.c | 5 ++---
4 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/app/core/gimp-transform-resize.c b/app/core/gimp-transform-resize.c
index 2200c20c88..50e44d6f4a 100644
--- a/app/core/gimp-transform-resize.c
+++ b/app/core/gimp-transform-resize.c
@@ -30,9 +30,8 @@
#include "gimp-transform-utils.h"
#include "gimp-utils.h"
-#ifdef PLATFORM_OSX
-#define FINITE(x) isfinite(x)
-#elif defined (HAVE_FINITE)
+
+#if defined (HAVE_FINITE)
#define FINITE(x) finite(x)
#elif defined (HAVE_ISFINITE)
#define FINITE(x) isfinite(x)
diff --git a/app/core/gimpcurve-map.c b/app/core/gimpcurve-map.c
index 9de96a92f7..604d4ecb5d 100644
--- a/app/core/gimpcurve-map.c
+++ b/app/core/gimpcurve-map.c
@@ -29,9 +29,8 @@
#include "gimpcurve.h"
#include "gimpcurve-map.h"
-#ifdef PLATFORM_OSX
-#define FINITE(x) isfinite(x)
-#elif defined (HAVE_FINITE)
+
+#if defined (HAVE_FINITE)
#define FINITE(x) finite(x)
#elif defined (HAVE_ISFINITE)
#define FINITE(x) isfinite(x)
diff --git a/app/core/gimpdrawable-transform.c b/app/core/gimpdrawable-transform.c
index 6182017a58..386e60c31c 100644
--- a/app/core/gimpdrawable-transform.c
+++ b/app/core/gimpdrawable-transform.c
@@ -50,9 +50,8 @@
#include "gimp-intl.h"
-#ifdef PLATFORM_OSX
-#define FINITE(x) isfinite(x)
-#elif defined (HAVE_FINITE)
+
+#if defined (HAVE_FINITE)
#define FINITE(x) finite(x)
#elif defined (HAVE_ISFINITE)
#define FINITE(x) isfinite(x)
diff --git a/app/pdb/image-cmds.c b/app/pdb/image-cmds.c
index c7e089fb1e..2ff32add9e 100644
--- a/app/pdb/image-cmds.c
+++ b/app/pdb/image-cmds.c
@@ -68,9 +68,8 @@
#include "gimp-intl.h"
-#ifdef PLATFORM_OSX
-#define FINITE(x) isfinite(x)
-#elif defined (HAVE_FINITE)
+
+#if defined (HAVE_FINITE)
#define FINITE(x) finite(x)
#elif defined (HAVE_ISFINITE)
#define FINITE(x) isfinite(x)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]