Browse Source

xmr: disable huge pages if not defined #19

pull/2/head
Tanguy Pruvot 7 years ago
parent
commit
949061d223
  1. 4
      crypto/xmr-rpc.cpp

4
crypto/xmr-rpc.cpp

@ -30,6 +30,10 @@
#define MADV_HUGEPAGE 0 #define MADV_HUGEPAGE 0
#endif #endif
#ifndef MADV_HUGEPAGE
#define MADV_HUGEPAGE 0
#endif
#ifndef PRIu64 #ifndef PRIu64
#define PRIu64 "I64u" #define PRIu64 "I64u"
#endif #endif

Loading…
Cancel
Save