From: Richard Levitte Date: Thu, 22 Jul 2004 13:00:14 +0000 (+0000) Subject: From LPlib: X-Git-Tag: BEN_FIPS_TEST_6~14^2~142 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75f134c07714b8030da047dc7d3ddf0d94a32132;p=oweals%2Fopenssl.git From LPlib: Make a nicer comment, as we don't really know for sure that it's really needed, and just want to play on the safe side. Suggest by Andy Polyakov --- diff --git a/crypto/LPdir_win.c b/crypto/LPdir_win.c index 06948f7adc..bfec766e52 100644 --- a/crypto/LPdir_win.c +++ b/crypto/LPdir_win.c @@ -1,4 +1,4 @@ -/* $LP: LPlib/source/LPdir_win.c,v 1.5 2004/07/20 22:39:13 _cvs_levitte Exp $ */ +/* $LP: LPlib/source/LPdir_win.c,v 1.6 2004/07/21 21:16:23 _cvs_levitte Exp $ */ /* * Copyright (c) 2004, Richard Levitte * All rights reserved. @@ -30,11 +30,16 @@ #include "LPdir.h" #endif -/* It seems like WinCE doesn't always have the "normal" mapping - macros. We're opting for the UNICODE ones. */ +/* We're most likely overcautious here, but let's reserve for + broken WinCE headers and explicitly opt for UNICODE call. + Keep in mind that our WinCE builds are compiled with -DUNICODE + [as well as -D_UNICODE]. */ #if defined(LP_SYS_WINCE) && !defined(FindFirstFile) # define FindFirstFile FindFirstFileW #endif +#if defined(LP_SYS_WINCE) && !defined(FindFirstFile) +# define FindNextFile FindNextFileW +#endif struct LP_dir_context_st {