summaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/porting.h')
-rw-r--r--src/porting.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/porting.h b/src/porting.h
new file mode 100644
index 000000000..3213ec9c0
--- /dev/null
+++ b/src/porting.h
@@ -0,0 +1,15 @@
+/*
+(c) 2010 Perttu Ahola <celeron55@gmail.com>
+*/
+
+#ifndef PORTING_HEADER
+#define PORTING_HEADER
+
+#ifdef _WIN32
+ #define SWPRINTF_CHARSTRING L"%S"
+#else
+ #define SWPRINTF_CHARSTRING L"%s"
+#endif
+
+#endif
+