Re: seconds bug in dir()
- Posted by DerekParnell (admin) Apr 10, 2010
- 1102 views
jimcbrown said...
If this breaks on watcom (e.g. you get a compile error) then we should look at using a pure w32api Dir() on watcom.
I tried this but the watcom compiler still forces the file times to a 2-second resolution.
And BTW you needed another change ...
#if defined(EWATCOM) #include <sys/stat.h> #endif
I'll try using the Windows API next.