From c1d23aa5966eceff9ba251715c933f7863438665 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sun, 30 Apr 2000 13:37:28 +0000 Subject: [PATCH] moved the OS/2 define for finite into libgimp/gimpmath.h --Sven --- ChangeLog | 9 ++++++++- app/gimage_cmds.c | 3 --- libgimp/gimpmath.h | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba9560177c..235dfdaf03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-04-30 Sven Neumann + + * app/gimage_cmds.c: reverted Asbjorns change (changing this file + has no effect anyway, change tools/pdbgen/pdb/gimage.pdb instead). + + * libgimp/gimpmath.h (FINITE): #define FINITE(x) isfinite(x) for OS/2 + 2000-04-29 Jay Cox * app/gimage_mask.c: Fix the end of group check in @@ -8,7 +15,7 @@ * app/gimage_cmds.c (finite): #define finite(d) isfinite(d) for OS/2 * libgimp/gimpsignal.h: #define SA_RESTART SA_SYSV - SA_RESTART isnt's defined for OS/2! + SA_RESTART isnt't defined for OS/2! 2000-04-29 Jay Cox diff --git a/app/gimage_cmds.c b/app/gimage_cmds.c index b016c4c73a..77fe2b2fec 100644 --- a/app/gimage_cmds.c +++ b/app/gimage_cmds.c @@ -18,9 +18,6 @@ /* NOTE: This file is autogenerated by pdbgen.pl. */ -#ifdef __EMX__ -#define finite(d) isfinite(d) -#endif #include "procedural_db.h" #include "config.h" diff --git a/libgimp/gimpmath.h b/libgimp/gimpmath.h index c8c4d57003..91693a73e3 100644 --- a/libgimp/gimpmath.h +++ b/libgimp/gimpmath.h @@ -82,6 +82,8 @@ extern "C" { #ifdef G_OS_WIN32 #define FINITE(x) _finite(x) +#elsifdef __EMX__ +#define FINITE(x) isfinite(x) #else #define FINITE(x) finite(x) #endif