Fix build bustage when mailnews is not part of the build... Duplicated some mime defines from nsMimeTypes.h :-(

This commit is contained in:
rpotts%netscape.com 2000-01-10 04:07:55 +00:00
Родитель fa8f3d858e
Коммит 30e17d0347
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -48,7 +48,16 @@
NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_NETWORK, 15)
// internal unknown content-type
//
// XXX: These definitions are duplicated in
// mozilla/mailnews/mime/src/nsMimeTypes.h. But this file is *only*
// available when mail is part of the mozilla build, so they cannot
// be used from the netwerk directory :-(
//
#define UNKNOWN_MIME "application/x-unknown-content-type"
#define TEXT_PLAIN_MIME "text/plain"
#define TEXT_HTML_MIME "text/html"
#define APPLICATION_OCTET_STREAM_MIME "application/octet-stream"
#undef NS_NET
#ifdef _IMPL_NS_NET