summaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-11-27 01:02:21 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-11-27 01:02:21 +0200
commit4e249fb3fbf75f0359758760d88e22aa5b14533c (patch)
tree323087d05efbd2ace27b316d4f017cf812a31992 /src/porting.h
downloadminetest-4e249fb3fbf75f0359758760d88e22aa5b14533c.tar.gz
minetest-4e249fb3fbf75f0359758760d88e22aa5b14533c.tar.bz2
minetest-4e249fb3fbf75f0359758760d88e22aa5b14533c.zip
Initial files
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
+