VirtualBox

Ignore:
Timestamp:
Jan 21, 2019 6:52:14 PM (6 years ago)
Author:
vboxsync
Message:

FsPerf: Enable mmap tests everywhere but on OS/2 (no mmap). bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp

    r76926 r76927  
    5656# include <errno.h>
    5757# include <unistd.h>
     58# include <sys/types.h>
    5859# include <sys/fcntl.h>
    59 # include <sys/mman.h>
    60 # include <sys/types.h>
     60# ifndef RT_OS_OS2
     61#  include <sys/mman.h>
     62# endif
    6163#endif
    6264
     
    21732175{
    21742176    RTTestISub("mmap");
    2175 #if defined(RT_OS_WINDOWS) || defined(RT_OS_LINUX) || defined(RT_OS_DARWIN)
     2177#if !defined(RT_OS_OS2)
    21762178    static const char * const s_apszStates[] = { "readonly", "writecopy", "readwrite" };
    21772179    enum { kMMap_ReadOnly = 0, kMMap_WriteCopy, kMMap_ReadWrite, kMMap_End };
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