OpenIndiana and Solaris port
[oweals/cde.git] / cde / programs / dtinfo / DtMmdb / dti_excs / Destructable_il.hh
index 1d5497a19300f07b911390c4bf5bced5d166cd47..a1b499e98d59c43773854b6ce7fe1b4f587ff787 100644 (file)
@@ -80,7 +80,7 @@ Destructable::~Destructable()
 inline void
 Destructable::destruct()
 {
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
   delete this;
 #else
   // Have to call this here since some compilers don't allow