Commit d6a91d65 by Christophe Geuzaine

tentative fix #2 (only for NX)

parent 9fdac97a
Pipeline #184 passed with stage
in 44 seconds
......@@ -219,10 +219,12 @@ static void setwbuf(int i, const char *f)
FILE *FOpen(const char *f, const char *mode)
{
#if defined (WIN32) && !defined(__CYGWIN__)
#if defined(HAVE_NX) && !defined(__APPLE__)
return fopen64(f, mode);
#elif defined (WIN32) && !defined(__CYGWIN__)
setwbuf(0, f);
setwbuf(1, mode);
return _wfopen64(wbuf[0], wbuf[1]);
return _wfopen(wbuf[0], wbuf[1]);
#else
return fopen(f, mode);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment