VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:40:42 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97464
Message:

VBoxDTrace: Fixed ioctl bugs. Use iprt/errno.h. (r64)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h

    r53670 r53687  
    3535#include <iprt/stdarg.h>
    3636#include <iprt/param.h>
     37#include <iprt/errno.h>
    3738#ifdef IN_RING0
    3839# include <iprt/list.h>
     
    135136# define bcmp(a_p1, a_p2, a_cb)     memcmp(a_p1, a_p2, a_cb)
    136137# define snprintf                   RTStrPrintf
    137 #endif
    138 
    139 /*
    140  * Errno defines compatible with the CRT of the given host...
    141  */
    142 #ifdef IN_RING0
    143 # define EINVAL                 (22)
    144 # define EBUSY                  (16)
    145 # define EFBIG                  (27)
    146 # define ENOMEM                 (12)
    147 # define ENOSPC                 (28)
    148 # define ENOENT                 (2)
    149 # define EFAULT                 (14)
    150 # define E2BIG                  (7)
    151 # define EACCES                 (13)
    152 # define ENXIO                  (6)
    153 # define EAGAIN                 (11)
    154 # define ENOTTY                 (25)
    155 # define ESRCH                  (3)
    156 #endif
    157 #if defined(_MSC_VER) || defined(IN_RING0)
    158 # define EALREADY               (114)
    159 # define EOVERFLOW              (79)
    160 # define ENOTSUP                (48)
    161138#endif
    162139
Note: See TracChangeset for help on using the changeset viewer.

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