POLL_CLASS_CPT,
POLL_CLASS_MKS,
POLL_FIXED_CLASSES,
+ POLL_DEFAULT_FIXED_CLASSES,
/* Size enum to maximum */
POLL_MAX_CLASSES = 31,
} PollClass;
+/*
+ * Do not use; Special pseudo private poll class supported by
+ * PollDefault only
+ */
+#define POLL_DEFAULT_CLASS_NET POLL_FIXED_CLASSES
+#define POLL_DEFAULT_CS_NET PollClassSet_Singleton(POLL_DEFAULT_CLASS_NET)
/*
* Each callback is registered in a set of classes
/* The Solaris 9 cross-compiler complains about these not being used */
#ifndef sun
-static INLINE int
+static INLINE int
Min(int a, int b)
{
return a < b ? a : b;
#endif
#ifndef sun
-static INLINE int
+static INLINE int
Max(int a, int b)
{
return a > b ? a : b;
#endif
-/*
+/*
* Token concatenation
*
* The C preprocessor doesn't prescan arguments when they are
#ifdef _MSC_VER
#ifdef __cplusplus
extern "C"
-#endif
+#endif
void *_ReturnAddress(void);
#pragma intrinsic(_ReturnAddress)
#define GetReturnAddress() _ReturnAddress()
* driver.
*/
-#ifdef _WIN32
+#if defined(_WIN32) && defined(_MSC_VER)
#define PATH_MAX 256
#ifndef strcasecmp
#define strcasecmp(_s1,_s2) _stricmp((_s1),(_s2))
#define RELEASE_ONLY(x) x
#else
#define vmx86_release 0
-#define RELEASE_ONLY(x)
+#define RELEASE_ONLY(x)
#endif
#ifdef VMX86_SERVER