Files
dat-thang/libcess/include/cess_compat.h
T
divorce b735900f2e 0.0.002
ddat interop with dat js
cable interop with cabal js
ddat's frontend = dat-thang
cable fe = cable-thang
dillo support based on cel's dillo-dat
bootstrap node
xplatform support

Signed-off-by: divo <418@cryspace.space>
2026-10-19 00:17:02 -04:00

20 lines
414 B
C

#ifndef LIBCESS_COMPAT_H
#define LIBCESS_COMPAT_H
/* Small operating-system spelling adjustments needed by the portable
* Cesspool sources. This header has no dependency on Dat or SLEEP. */
#ifdef _WIN32
#include <direct.h>
#include <errno.h>
#include <io.h>
#include <sys/stat.h>
#ifndef mkdir
#define mkdir(path, mode) _mkdir(path)
#endif
#ifndef EKEYREJECTED
#define EKEYREJECTED EACCES
#endif
#endif
#endif