mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
vlc_fixup: don't define the proper lfind for win64
win64 has its own version of lfind() but assumes the 3rd parameter is an unsigned. This commit matches the #ifdef _WIN64 below this code which uses the Windows version with the unsigned limit. The comment is copied from there as well.
This commit is contained in:
parent
2c71cbdfc1
commit
6642dc1c10
@ -497,8 +497,11 @@ void *tsearch( const void *key, void **rootp, int(*cmp)(const void *, const void
|
||||
void *tfind( const void *key, void * const *rootp, int(*cmp)(const void *, const void *) );
|
||||
void *tdelete( const void *key, void **rootp, int(*cmp)(const void *, const void *) );
|
||||
void twalk( const void *root, void(*action)(const void *nodep, VISIT which, int depth) );
|
||||
#ifndef _WIN64
|
||||
/* the Win32 prototype of lfind() expects an unsigned* for 'nelp' */
|
||||
void *lfind( const void *key, const void *base, size_t *nmemb,
|
||||
size_t size, int(*cmp)(const void *, const void *) );
|
||||
#endif
|
||||
#endif /* HAVE_SEARCH_H */
|
||||
|
||||
#ifdef _WIN64
|
||||
|
Loading…
Reference in New Issue
Block a user