Commit 03450be7 authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Fiona Glaser

Fix compilation in case of HAVE_LOG2F check fails spuriously

parent 266fdfcd
......@@ -37,6 +37,12 @@
#include "config.h"
#ifdef __INTEL_COMPILER
#include <mathimf.h>
#else
#include <math.h>
#endif
#if !HAVE_LOG2F
#define log2f(x) (logf(x)/0.693147180559945f)
#define log2(x) (log(x)/0.693147180559945)
......@@ -51,12 +57,6 @@
#define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)
#endif
#ifdef __INTEL_COMPILER
#include <mathimf.h>
#else
#include <math.h>
#endif
#if (defined(__GNUC__) || defined(__INTEL_COMPILER)) && (ARCH_X86 || ARCH_X86_64)
#define HAVE_X86_INLINE_ASM 1
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment