Need to undef NOERROR for Solaris.
diff --git a/include/winerror.h b/include/winerror.h index 270fa0a..8e7147f 100644 --- a/include/winerror.h +++ b/include/winerror.h
@@ -1481,6 +1481,7 @@ /* HRESULT values for OLE, SHELL and other Interface stuff */ /* the codes 4000-40ff are reserved for OLE */ +#undef NOERROR /* arpa/nameser_compat.h defines this */ #define NOERROR 0L #define S_OK ((HRESULT)0L) #define S_FALSE ((HRESULT)1L)