aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include')
-rw-r--r--xorg-server/include/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/include/os.h b/xorg-server/include/os.h
index c67821967..100686f61 100644
--- a/xorg-server/include/os.h
+++ b/xorg-server/include/os.h
@@ -526,4 +526,8 @@ extern void LogPrintMarkers(void);
extern void xorg_backtrace(void);
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif
+
#endif /* OS_H */