#if defined(__WIN32__) || defined(__WINRT__) || defined(_WIN64) fopen_s(&file_to_read, path, "rb"); #else file_to_read = fopen(path, "rb"); #endif