diff options
author | Richard Levitte <levitte@openssl.org> | 2004-07-22 13:00:14 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-07-22 13:00:14 +0000 |
commit | 75f134c07714b8030da047dc7d3ddf0d94a32132 (patch) | |
tree | d6abb4e0c3674213a8d6064379ebb922f077aced /crypto | |
parent | d8d25c960305e3b4df5c97aa506b077f30bdd5bd (diff) |
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 <appro@fy.chalmers.se>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/LPdir_win.c | 11 |
1 files changed, 8 insertions, 3 deletions
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 <richard@levitte.org> * 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 { |