diff --git a/crc64.c b/crc64.c index 70a799f..8ddc055 100644 --- a/crc64.c +++ b/crc64.c @@ -199,10 +199,14 @@ static int is_directory(FILE *const file) /* Process File */ /* ======================================================================== */ -const CHAR *const STR_STDIN = T("/dev/stdin"); - #define BUFF_SIZE 4096U +#ifdef _WIN32 +const wchar_t *const STR_STDIN = L"CONIN$"; +#else +const char *const STR_STDIN = "/dev/stdin"; +#endif + static int process(const CHAR *const file_name, const int options) { int retval = EXIT_FAILURE;