mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
Copy DIR struct definition from dbm/include/winfile.h for win32 to remove questionable dependency upon dbm.
Bug #100966 r=pavlov sr=shaver
This commit is contained in:
parent
13c0ff3b16
commit
f4e1ad92ec
@ -179,9 +179,19 @@
|
||||
# include <Files.h>
|
||||
#endif /* XP_MAC */
|
||||
|
||||
#ifdef XP_WIN
|
||||
# include "winfile.h"
|
||||
#endif /* XP_WIN */
|
||||
#ifdef XP_WIN32
|
||||
# include <windows.h>
|
||||
# include <sys/stat.h>
|
||||
/*
|
||||
* typedef taken from dbm/include/winfile.h
|
||||
* removing dbm dependency for bug 100966
|
||||
*/
|
||||
typedef struct DIR_Struct {
|
||||
void * directoryPtr;
|
||||
WIN32_FIND_DATA data;
|
||||
} DIR;
|
||||
|
||||
#endif /* XP_WIN32 */
|
||||
|
||||
#ifdef XP_OS2
|
||||
# include "dirent.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user