Commit b288722e authored by Daniel Cohen Gindi's avatar Daniel Cohen Gindi

A forgotten `#ifdef WIN32` broke UNIX build.

parent bf87073f
...@@ -1418,11 +1418,13 @@ rfbBool rfbSendDirContent(rfbClientPtr cl, int length, char *buffer) ...@@ -1418,11 +1418,13 @@ rfbBool rfbSendDirContent(rfbClientPtr cl, int length, char *buffer)
} }
} }
#ifdef WIN32
if (FindNextFileA(findHandle, &winFindData) == 0) if (FindNextFileA(findHandle, &winFindData) == 0)
{ {
FindClose(findHandle); FindClose(findHandle);
findHandle = INVALID_HANDLE_VALUE; findHandle = INVALID_HANDLE_VALUE;
} }
#endif
} }
#ifdef WIN32 #ifdef WIN32
if (findHandle != INVALID_HANDLE_VALUE) if (findHandle != INVALID_HANDLE_VALUE)
......
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