Update base, fmt and llhttp.
This commit is contained in:
parent
4f90075ea0
commit
5c6c1299c8
33 changed files with 6033 additions and 5672 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue