summaryrefslogtreecommitdiff
path: root/src/cpp0x_compat/cstdint
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-24 21:16:12 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-24 22:28:23 +0100
commita5690fa2a4cce2698225f1f558183f6fe306d860 (patch)
tree822d4e237412afd38008de04d9be11fd0718f101 /src/cpp0x_compat/cstdint
parent054246ebffcdd20da72a8e464b40eaf64d484743 (diff)
downloadmana-client-a5690fa2a4cce2698225f1f558183f6fe306d860.tar.gz
mana-client-a5690fa2a4cce2698225f1f558183f6fe306d860.tar.bz2
mana-client-a5690fa2a4cce2698225f1f558183f6fe306d860.tar.xz
mana-client-a5690fa2a4cce2698225f1f558183f6fe306d860.zip
Introduced compile-time option to disable use of C++0x
This is in order to still support older compilers, in particular GCC 4.2.1, so that Mana may be compiled for Maemo 5. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/cpp0x_compat/cstdint')
-rw-r--r--src/cpp0x_compat/cstdint7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpp0x_compat/cstdint b/src/cpp0x_compat/cstdint
new file mode 100644
index 00000000..d8d71d9d
--- /dev/null
+++ b/src/cpp0x_compat/cstdint
@@ -0,0 +1,7 @@
+/*
+ * Compatibility header used when the compiler doesn't support C++0x.
+ *
+ * It doesn't seem necessary for it to contain anything, at least GCC 4.2.1
+ * compiles Mana fine so it apparently understands types like uint16_t by
+ * default.
+ */