diff options
| author | Manolo Gouy <Manolo> | 2016-04-11 13:50:41 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-11 13:50:41 +0000 |
| commit | 1411c119058743cd1b5ae68f8d076f11b9f85c10 (patch) | |
| tree | bd7e9fd944fb13ecd7e792f8b479b6428c40a265 /src/drivers/Darwin | |
| parent | 5b44fe3bff5a86b888a39b27ceaa8636559e21a9 (diff) | |
Improve use of struct stat for WIN32 platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Darwin')
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx index 3929c63c6..e8082fbc6 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx @@ -234,7 +234,7 @@ int Fl_Darwin_System_Driver::file_type(const char *filename) { int filetype; struct stat fileinfo; // Information on file - if (!stat(filename, &fileinfo)) + if (!::stat(filename, &fileinfo)) { if (S_ISDIR(fileinfo.st_mode)) filetype = Fl_File_Icon::DIRECTORY; |
