summaryrefslogtreecommitdiffstats
path: root/WebKit/android/stlport/stl/_ioserr.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/stlport/stl/_ioserr.h')
-rw-r--r--WebKit/android/stlport/stl/_ioserr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/WebKit/android/stlport/stl/_ioserr.h b/WebKit/android/stlport/stl/_ioserr.h
new file mode 100644
index 0000000..83ba877
--- /dev/null
+++ b/WebKit/android/stlport/stl/_ioserr.h
@@ -0,0 +1,12 @@
+/*
+ * This file is included in every header that needs the STLport library to be
+ * built; the header files mostly are the iostreams-headers. The file checks for
+ * _STLP_USE_NO_IOSTREAMS or _STLP_NO_IOSTREAMS being not defined, so that the
+ * iostreams part of STLport cannot be used when the symbols were defined
+ * accidentally.
+ */
+#if defined (_STLP_NO_IOSTREAMS)
+# error STLport iostreams header cannot be used; you chose not to use iostreams in the STLport configuration file (stlport/stl/config/user_config.h).
+#elif defined (_STLP_USE_NO_IOSTREAMS )
+# error STLport iostreams header cannot be used; your compiler do not support it.
+#endif