mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-01-07 15:43:07 +00:00
* Add rapidsnark as submodule. * Implement prover and verifier building for linux, windows and macos.
8 lines
188 B
C++
8 lines
188 B
C++
// Workaround for Windows where some mman functions are not defined
|
|
|
|
#ifdef _WIN32
|
|
#include <cstddef>
|
|
inline int madvise(void*, size_t, int) { return 0; }
|
|
#define MADV_SEQUENTIAL 0
|
|
#endif
|