VirtualBox

Ignore:
Timestamp:
May 4, 2009 5:32:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46824
Message:

Solaris/VBoxNetFlt: Use RT_C_IS_DIGIT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r19323 r19339  
    4242#include <iprt/crc32.h>
    4343#include <iprt/err.h>
     44#define VBOX_WITH_NETFLT_SOLARIS_DLPISTYLE2
     45#ifdef VBOX_WITH_NETFLT_SOLARIS_DLPISTYLE2
     46# include <iprt/ctype.h>
     47#endif
    4448
    4549#include <inet/ip.h>
     
    98102#define DEVICE_DESC_DRV          "VirtualBox NetDrv"
    99103#define DEVICE_DESC_MOD          "VirtualBox NetMod"
    100 
    101 #ifdef VBOX_WITH_NETFLT_SOLARIS_DLPISTYLE2
    102 # define ISDIGIT(c)              ((c) >= '0' && (c) <= '9')
    103 #endif
    104104
    105105/** @todo Remove the below hackery once done! */
     
    16981698    while (--pszEnd > pszDev)
    16991699    {
    1700         if (!ISDIGIT(*pszEnd))
     1700        if (!RT_C_IS_DIGIT(*pszEnd))
    17011701            break;
    17021702        PPALen++;
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