Add a #warning to scandir.c with the intent of trying to flag up which,
if any, hosts actually use this code now. Will only trigger on hosts using gcc though, so may not help at all... This is part of trying to remove this (possibly) not fltk license compliant code from the codebase. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
ec42758183
commit
e3a53da439
@ -44,6 +44,11 @@ USA. */
|
||||
# endif
|
||||
# endif
|
||||
|
||||
/* This warning added to help identify any hosts that actually use this function... */
|
||||
# if defined(__GNUC__)
|
||||
# warning Using deprecated scandir() replacement function
|
||||
# endif /*__GNUC__*/
|
||||
|
||||
int
|
||||
fl_scandir(const char *dir, struct dirent ***namelist,
|
||||
int (*select)(struct dirent *),
|
||||
|
Loading…
Reference in New Issue
Block a user