• Harris Hancock's avatar
    Depend on kj/miniposix.h instead of unistd.h in most places · 669469ca
    Harris Hancock authored
    This is necessary to get things working in MSVC. Note I swapped unistd.h
    for miniposix.h in the compiler, too, which will be necessary to port the
    compiler to MSVC.
    
    This commit also pulls capnp/compiler/capnp.c++'s pipe() implementation
    details (i.e., 8k reserved memory, _O_BINARY mode) into kj/miniposix.h.
    669469ca
capnpc-capnp.c++ 27.2 KB