/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* */ #ifndef ←←XR←sys←sockio←h #define ←←XR←sys←sockio←h #include <sys/sockio.h> /* * This one is heavy, but reading of SunOS4.1.3 and 5.2 headers * suggests they agree on everything but the I←XXXX definitions, * and those are pretty easy ... */ #if defined(PCR←OS←SUNOS4) || defined(PCR←OS←SUNOS5) #define XR←sys←sockio←IOCtlCmdP(cmd) (\ (((cmd) & 0xff00) == ('i'<<8)) || (((cmd) & 0xff00) == ('s'<<8)) ) # define XR←sys←sockio←IOCtlCmdToHost(cmd) (cmd) #else # error os ? #endif #endif /*!←←XR←sys←sockio←h*/