]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
added an error message if a bitmap can't be addedto the image list
[wxWidgets.git] / src / common / socket.cpp
index 0862ac067087da29bc07a0ea7665b6966b262eb1..9b7fbe2ecdc16cd299b098af653f872ead6ce8a0 100644 (file)
@@ -514,7 +514,12 @@ void wxSocketBase::Discard()
 // Under glibc 2.0.7, socketbits.h declares socklen_t to be unsigned int
 // and it uses *socklen_t as the 3rd parameter. Robert.
 
-#ifdef __LINUX__
+// JACS - How can we detect this?
+// Meanwhile, if your compiler complains about socklen_t,
+// switch lines below.
+
+#if defined(__LINUX__)
+// #if 0
 #define wxSOCKET_INT socklen_t
 #else
 #define wxSOCKET_INT int