X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=include%2Fc%2B%2B%2Fstl%2Fstl%2F_ioserr.h;fp=include%2Fc%2B%2B%2Fstl%2Fstl%2F_ioserr.h;h=83ba8775b64239187e46d5fb8a747969ca3a3175;hp=0000000000000000000000000000000000000000;hb=173d8903eb9d51a4ea7d7fa3e52dc86c9bb6d4f1;hpb=b024710fe2b60cd4a42a8993b61333d6cdb56ca3 diff --git a/include/c++/stl/stl/_ioserr.h b/include/c++/stl/stl/_ioserr.h new file mode 100644 index 0000000..83ba877 --- /dev/null +++ b/include/c++/stl/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