From 7b4ac9122f7df68d4968b2c508a38de1cdd3e483 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 23 Jun 2014 08:46:43 +0000
Subject: [PATCH] Whoops, forgot to commit this fixup.

---
 src/conio/ciolib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c
index 1e6f64052b..560649def2 100644
--- a/src/conio/ciolib.c
+++ b/src/conio/ciolib.c
@@ -877,7 +877,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...)
     va_end(argptr);
 #else
 
-#if defined(_MSC_VER) || define(__MSVCRT__)
+#if defined(_MSC_VER) || defined(__MSVCRT__)
 	ret=_vsnprintf(str,sizeof(str)-1,fmat,argptr);
 #else
 
@@ -895,7 +895,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...)
 	ret=vsprintf(str,fmat,argptr2);
 #endif
     va_end(argptr);
-#if defined(_MSC_VER) || define(__MSVCRT__)
+#if !(defined(_MSC_VER) || defined(__MSVCRT__))
     va_end(argptr2);
 #endif
 	if(ret>=0)
-- 
GitLab