mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
d3a904309b
This was noticed due to a user issue (#4750) when building Neovim 0.1.4 via ports. The crux of the issue is that we did not detect the be64toh() macro, because there is no endian.h on FreeBSD (along with several other BSDs). So we were defaulting to our builtin version of be64toh(). However, it appears that sys/endian.h was being picked up by an include (likely msgpack.h) and so be64toh() was actually defined and corrupting our definition of it. So the answer here was to use the correct include file in our check, and export that information in the config.h. Then we use that information to include the right header in shada.c. This fixes #4750. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
config.h.in | ||
pathdef.c.in | ||
versiondef.h.in |