From ccd3d7d83dd21428876e1737b839697252244525 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 13 Mar 2010 17:18:46 +0000
Subject: [PATCH] Fix Windows build error: sexyz.c(1614) : error C2223: left of
 '->cbdata' must point to struct/union

---
 src/sbbs3/sexyz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/sexyz.c b/src/sbbs3/sexyz.c
index ae29d36f29..6a7afeffee 100644
--- a/src/sbbs3/sexyz.c
+++ b/src/sbbs3/sexyz.c
@@ -1611,8 +1611,8 @@ int main(int argc, char **argv)
 
 #if !defined(RINGBUF_EVENT)
 	outbuf_empty=CreateEvent(NULL,/* ManualReset */TRUE, /*InitialState */TRUE,NULL);
-	outbuf_empty->cbdata=&outbuf;
 #ifdef __unix__
+	outbuf_empty->cbdata=&outbuf;
 	outbuf_empty->verify=RingBufIsEmpty;
 #endif
 #endif
-- 
GitLab