mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-01-02 13:13:09 +00:00
* Add rapidsnark as submodule. * Implement prover and verifier building for linux, windows and macos.
20 lines
354 B
C
20 lines
354 B
C
// Workaround for Windows UIO header, as it's not available by default
|
|
|
|
#ifndef SYS_UIO_H
|
|
#define SYS_UIO_H
|
|
|
|
#include <inttypes.h>
|
|
#include <unistd.h>
|
|
|
|
struct iovec
|
|
{
|
|
void *iov_base;
|
|
size_t iov_len;
|
|
};
|
|
|
|
ssize_t readv(int fildes, const struct iovec *iov, int iovcnt);
|
|
ssize_t writev(int fildes, const struct iovec *iov, int iovcnt);
|
|
|
|
#endif
|
|
|