mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
build: Fix -Wconversion warnings for fpclassify et al
closes #8274 The parent commit tries a different approach, but that fails on Apple Clang version: Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin17.7.0 which somehow compiles the check_c_source_compiles() check, but then complains during later compilation that __fpclassify is not defined (regardless of "#include <math.h>").
This commit is contained in:
7
src/nvim/math.h
Normal file
7
src/nvim/math.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef NVIM_MATH_H
|
||||
#define NVIM_MATH_H
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "math.h.generated.h"
|
||||
#endif
|
||||
#endif // NVIM_MATH_H
|
Reference in New Issue
Block a user