moved the OS/2 define for finite into libgimp/gimpmath.h

--Sven
This commit is contained in:
Sven Neumann 2000-04-30 13:37:28 +00:00
parent 2ba5ae4c24
commit c1d23aa596
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2000-04-30 Sven Neumann <sven@gimp.org>
* 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 <jaycox@earthlink.net> 2000-04-29 Jay Cox <jaycox@earthlink.net>
* app/gimage_mask.c: Fix the end of group check in * 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 * app/gimage_cmds.c (finite): #define finite(d) isfinite(d) for OS/2
* libgimp/gimpsignal.h: #define SA_RESTART SA_SYSV * 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 <jaycox@earthlink.net> 2000-04-29 Jay Cox <jaycox@earthlink.net>

View File

@ -18,9 +18,6 @@
/* NOTE: This file is autogenerated by pdbgen.pl. */ /* NOTE: This file is autogenerated by pdbgen.pl. */
#ifdef __EMX__
#define finite(d) isfinite(d)
#endif
#include "procedural_db.h" #include "procedural_db.h"
#include "config.h" #include "config.h"

View File

@ -82,6 +82,8 @@ extern "C" {
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
#define FINITE(x) _finite(x) #define FINITE(x) _finite(x)
#elsifdef __EMX__
#define FINITE(x) isfinite(x)
#else #else
#define FINITE(x) finite(x) #define FINITE(x) finite(x)
#endif #endif