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>
This commit is contained in:
parent
d8d25c9603
commit
75f134c077
@ -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>
|
* Copyright (c) 2004, Richard Levitte <richard@levitte.org>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -30,11 +30,16 @@
|
|||||||
#include "LPdir.h"
|
#include "LPdir.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* It seems like WinCE doesn't always have the "normal" mapping
|
/* We're most likely overcautious here, but let's reserve for
|
||||||
macros. We're opting for the UNICODE ones. */
|
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)
|
#if defined(LP_SYS_WINCE) && !defined(FindFirstFile)
|
||||||
# define FindFirstFile FindFirstFileW
|
# define FindFirstFile FindFirstFileW
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(LP_SYS_WINCE) && !defined(FindFirstFile)
|
||||||
|
# define FindNextFile FindNextFileW
|
||||||
|
#endif
|
||||||
|
|
||||||
struct LP_dir_context_st
|
struct LP_dir_context_st
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user