Hash : 1fb8c9c6 Author : Date : 2018-03-18T00:38:14
Fix using right functions for file descriptor with MS Visual Studio
Download
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* * Public domain * * Kinichiro Inoguchi <inoguchi@openbsd.org> */ #ifdef _WIN32 #include <unistd.h> uid_t getuid(void) { /* Windows fstat sets 0 as st_uid */ return 0; } #endif