Update base, fmt and llhttp.

This commit is contained in:
XMRig 2021-08-29 21:18:00 +07:00
parent 4f90075ea0
commit 5c6c1299c8
No known key found for this signature in database
GPG key ID: 446A53638BE94409
33 changed files with 6033 additions and 5672 deletions

View file

@ -19,19 +19,15 @@
#ifndef XMRIG_BSWAP_64_H
#define XMRIG_BSWAP_64_H
#ifdef _MSC_VER
#include <stdlib.h>
#define bswap_64(x) _byteswap_uint64(x)
# include <cstdlib>
# define bswap_64(x) _byteswap_uint64(x)
#elif defined __GNUC__
#define bswap_64(x) __builtin_bswap64(x)
# define bswap_64(x) __builtin_bswap64(x)
#else
#include <byteswap.h>
# include <byteswap.h>
#endif
#endif /* XMRIG_BSWAP_64_H */