Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
20 lines
361 B
C++
20 lines
361 B
C++
#ifndef __TRACYMMAP_HPP__
|
|
#define __TRACYMMAP_HPP__
|
|
|
|
#if !defined _WIN32
|
|
# include <sys/mman.h>
|
|
#else
|
|
# include <string.h>
|
|
# include <sys/types.h>
|
|
|
|
# define PROT_READ 1
|
|
# define PROT_WRITE 2
|
|
# define MAP_SHARED 0
|
|
|
|
void* mmap( void* addr, size_t length, int prot, int flags, int fd, off_t offset );
|
|
int munmap( void* addr, size_t length );
|
|
|
|
#endif
|
|
|
|
#endif
|