Closed geoffleyland closed 9 years ago
Adding this in luapgsql.c is a bit tacky, but it gets it to compiling and building:
#ifdef __APPLE__ #include <libkern/OSByteOrder.h> #define htobe64(x) OSSwapHostToBigInt64(x) #else #include <endian.h> #endif
I can fork and make a pull request if you like, but this is pretty minor.
Added that, thanks!
for windows。
this topic is closed, please open a new issue and provide a source code patch.
Adding this in luapgsql.c is a bit tacky, but it gets it to compiling and building:
I can fork and make a pull request if you like, but this is pretty minor.