Skip to content

Commit 0b051ca

Browse files
committed
prefix.h: fix build with clang-cl on MSVC
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
1 parent 603ced3 commit 0b051ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

prefix.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
#define snprintf _snprintf
4242
#define inline __inline
4343
#include <float.h>
44+
#ifndef __FLT_EPSILON__
4445
#define __FLT_EPSILON__ FLT_EPSILON
46+
#endif
4547
#else
4648
#define HAVE_GETTIMEOFDAY
4749
#include <sys/time.h>

0 commit comments

Comments
 (0)