aboutsummaryrefslogtreecommitdiffstats
path: root/src/serd_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-10-03 17:09:44 +0000
committerDavid Robillard <d@drobilla.net>2014-10-03 17:09:44 +0000
commit164337b78f11c7fdb5881df6262ea0d02a1cad6f (patch)
tree0a0904e03e37388982f5d1f28bd9d52e7382d848 /src/serd_internal.h
parentcf50a460fcc84687d18764a61cf79d662766414b (diff)
downloadserd-164337b78f11c7fdb5881df6262ea0d02a1cad6f.tar.gz
serd-164337b78f11c7fdb5881df6262ea0d02a1cad6f.tar.bz2
serd-164337b78f11c7fdb5881df6262ea0d02a1cad6f.zip
Remove dependence on fmax() to avoid portability issues.
git-svn-id: http://svn.drobilla.net/serd/trunk@476 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r--src/serd_internal.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h
index d96d4969..20700bb8 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -38,14 +38,6 @@
# define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
-#ifndef HAVE_FMAX
-static inline double
-fmax(double a, double b)
-{
- return (a < b) ? b : a;
-}
-#endif
-
/* File and Buffer Utilities */
static inline FILE*