Hacker News new | ask | show | jobs
by kazinator 2328 days ago
There is no need for this nonsense:

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

What would you recommend?