add workaround for dlopen() bug on OpenBSD (relative paths that
[p5sagit/p5-mst-13.2.git] / globals.c
index 80c659e..41dc924 100644 (file)
--- a/globals.c
+++ b/globals.c
@@ -45,12 +45,14 @@ CPerlObj::operator new(size_t nSize, IPerlMem *pvtbl)
 #endif
 }
 
+#ifndef __BORLANDC__
 void
 CPerlObj::operator delete(void *pPerl, IPerlMem *pvtbl)
 {
     if(pvtbl)
        pvtbl->pFree(pvtbl, pPerl);
 }
+#endif
 
 #ifdef WIN32           /* XXX why are these needed? */
 bool