diff --git a/crypto/LPdir_win.c b/crypto/LPdir_win.c index d5b5e2c900..7eea373cde 100644 --- a/crypto/LPdir_win.c +++ b/crypto/LPdir_win.c @@ -36,7 +36,7 @@ #if defined(LP_SYS_WINCE) && !defined(FindFirstFile) # define FindFirstFile FindFirstFileW #endif -#if defined(LP_SYS_WINCE) && !defined(FindFirstFile) +#if defined(LP_SYS_WINCE) && !defined(FindNextFile) # define FindNextFile FindNextFileW #endif