summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2012-07-19 15:11:16 +0000
committerXuefer <xuefer@gmail.com>2012-07-19 15:11:16 +0000
commit063f9a1fb8d2beca9d4d6083313abd73692a9df5 (patch)
tree12ef407bfd4345e352297f5ac94ce569d5e447d2 /util
parentac7d42eed59b42645522c2cdda6a289880318d92 (diff)
downloadxcache-063f9a1fb8d2beca9d4d6083313abd73692a9df5.tar.gz
xcache-063f9a1fb8d2beca9d4d6083313abd73692a9df5.zip
fix win32 build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1006 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'util')
-rw-r--r--util/xc_trace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/xc_trace.h b/util/xc_trace.h
index 285aead..d2271b2 100644
--- a/util/xc_trace.h
+++ b/util/xc_trace.h
@@ -5,6 +5,16 @@
#pragma once
#endif // _MSC_VER > 1000
+#ifdef ZEND_WIN32
+# ifndef inline
+# ifdef ZEND_WIN32_FORCE_INLINE
+# define inline __forceinline
+# else
+# define inline
+# endif
+# endif
+#endif
+
#ifdef XCACHE_DEBUG
# define IFDEBUG(x) (x)
int xc_vtrace(const char *fmt, va_list args);