shithub: choc

Download patch

ref: 75ce08abd69708b2219bbf92d10425ca6d50c711
parent: 7644356e6ea1b8e38b1ae8cdd90481f05f347513
author: Simon Howard <[email protected]>
date: Thu Oct 18 19:40:50 EDT 2007

#define inline to _inline in MSVC.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 976

--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -39,6 +39,10 @@
 #define CHAR_W 8
 #define CHAR_H 16
 
+#if defined(_MSC_VER) && !defined(__cplusplus)
+#define inline __inline
+#endif
+
 // Time between character blinks in ms
 
 #define BLINK_PERIOD 250