[NCFTP] Check _DEBUG with #ifdef, not #if (#1616)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Wed, 5 Jun 2019 23:49:52 +0000 (01:49 +0200)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Wed, 5 Jun 2019 23:49:52 +0000 (01:49 +0200)
modules/rosapps/applications/net/ncftp/libncftp/glob.c

index 152d3c4..2e25766 100644 (file)
@@ -1157,9 +1157,15 @@ Traverse(FTPCIPtr cip, char *fullpath, struct Stat *st, char *relpath, FileInfoL
                }
 
 next:
+#ifndef __REACTOS__
 #if _DEBUG
                memset(&ffd, 0, sizeof(ffd));
 #endif
+#else //  __REACTOS__
+#ifdef _DEBUG
+               memset(&ffd, 0, sizeof(ffd));
+#endif
+#endif //  __REACTOS__
                if (!FindNextFile(searchHandle, &ffd)) {
                        dwErr = GetLastError();
                        if (dwErr != ERROR_NO_MORE_FILES) {