VirtualBox

Ignore:
Timestamp:
Apr 24, 2010 6:25:07 PM (15 years ago)
Author:
vboxsync
Message:

oops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp

    r28688 r28690  
    159159     */
    160160    int rc;
    161     int fd = open(pszPath, O_DIRECTORY | O_RDONLY, 0);
     161#ifdef O_DIRECTORY
     162    int fd = open(pszPath, O_RDONLY | O_DIRECTORY, 0);
     163#else
     164    int fd = open(pszPath, O_RDONLY, 0);
     165#endif
    162166    if (fd >= 0)
    163167    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette