]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - include/c++/stl/stl/_ioserr.h
Add STLport 5.1.4
[polintos/scott/priv.git] / include / c++ / stl / stl / _ioserr.h
diff --git a/include/c++/stl/stl/_ioserr.h b/include/c++/stl/stl/_ioserr.h
new file mode 100644 (file)
index 0000000..83ba877
--- /dev/null
@@ -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