diff options
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp index 98175159..0b8fa614 100644 --- a/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp +++ b/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp @@ -97,10 +97,11 @@ inline unsigned char umin(unsigned char a, unsigned char b) { return (a>b) ? b : a; } +#if !defined(HAVE_FMIN) inline float fmin(float a, float b) { return (a>b) ? b : a; } - +#endif // ------- DJVUPALETTE |