]> git.saurik.com Git - wxWidgets.git/commit - src/common/filefn.cpp
Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 28 May 2006 18:58:12 +0000 (18:58 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 28 May 2006 18:58:12 +0000 (18:58 +0000)
commit27d98837f3b5589c40137f4a1fa75d28cde75c46
tree39caca0fac08ec0a16671a26f992e45a6a792a12
parent164a797204e4738fceac9ad0d3ef2b0ffffae8cb
Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
on DJGPP where S_IFREG is defined as 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/filefn.cpp