From: Jouk Jansen <joukj@hrem.nano.tudelft.nl>
Date: Tue, 2 Jan 2007 09:55:34 +0000 (+0000)
Subject:    avoid reading KDE-tables on OpenVMS. They will never be installed since KDE
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7538fdc9a6b2d38e61563b0585aeef9a3efc8e84

   avoid reading KDE-tables on OpenVMS. They will never be installed since KDE
   is not available on OpenVMS.

 Modified Files:
 	wxWidgets/src/unix/mimetype.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp
index ff6fda3893..0d9de5f65f 100644
--- a/src/unix/mimetype.cpp
+++ b/src/unix/mimetype.cpp
@@ -1512,9 +1512,11 @@ void wxMimeTypesManagerImpl::Initialize(int mailcapStyles,
     if (mailcapStyles & wxMAILCAP_GNOME)
         GetGnomeMimeInfo(sExtraDir);
 
-    // read KDE tables
+    // read KDE tables which are never installed on OpenVMS
+#ifndef __VMS
     if (mailcapStyles & wxMAILCAP_KDE)
         GetKDEMimeInfo(sExtraDir);
+#endif
 
     m_mailcapStylesInited |= mailcapStyles;
 }