]> jfr.im git - solanum.git/blobdiff - librb/include/commio-int.h
openssl: use snprintf(3) instead of rb_snprintf()
[solanum.git] / librb / include / commio-int.h
index da2833a420a297cea6c75c448af31eb877c51e6d..cd573fef207c85eb1f2dab7ad45d7955ab310683 100644 (file)
@@ -87,6 +87,9 @@ struct acceptdata
 #define SetFDOpen(F)   (F->flags |= FLAG_OPEN)
 #define ClearFDOpen(F) (F->flags &= ~FLAG_OPEN)
 
+#if !defined(SHUT_RDWR) && defined(_WIN32)
+# define SHUT_RDWR SD_BOTH
+#endif
 
 struct _fde
 {