neovim/config
John Szakmeister d3a904309b Fix be64toh() detection on BSDs.
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.
2016-05-14 12:47:20 -04:00
..
CMakeLists.txt Fix be64toh() detection on BSDs. 2016-05-14 12:47:20 -04:00
config.h.in Fix be64toh() detection on BSDs. 2016-05-14 12:47:20 -04:00
pathdef.c.in CMake: Fix helptags generation when prefix is not /usr. #2741 2015-06-09 01:12:08 -04:00
versiondef.h.in Remove "Commit:" field from --version output 2015-12-05 16:15:32 -05:00