• Chun-wei Fan's avatar
    Broadway: Allow Compilation on Windows/MSVC · 2268e9d6
    Chun-wei Fan authored
    -Don't include unistd.h unconditionally as it's not available in Visual
     Studio, but include io.h where necessary.
    -Avoid C99isms, and use _chsize_s in place of ftruncate when unistd.h is
     not available (as in the case of Visual Studio)
    2268e9d6
gdkkeys-broadway.c 5.71 KB