From 167f41aa2b461cd749a8acc4683c703ebcc9d661 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 27 Mar 2016 22:47:50 -0400 Subject: [PATCH] Fix build with NO_MSGAPI undefined --- unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix.c b/unix.c index a82a962..b0b026d 100644 --- a/unix.c +++ b/unix.c @@ -406,9 +406,9 @@ enet_socket_receive (ENetSocket socket, ENetBuffer * buffers, size_t bufferCount) { -#ifdef NO_MSGAPI int recvLength; - + +#ifdef NO_MSGAPI // This will ONLY work with a single buffer! address -> addressLength = sizeof (address -> address);