Hi all,

I'm porting Sablotron 0.43 to OpenBSD.  Here's a small patch to 
get it compile and process simple XSL fine with static libraries.

Shared libraries do not work yet, but I suspect this is a libtool
problem - investigations continue.  Is anyone else interested in
trying to help track this problem down?

The patch has been tested on OpenBSD-current (2.8-beta)

--
Anil Madhavapeddy, <[EMAIL PROTECTED]>
--- Sablot/engine/sablot.h.orig Wed Sep  6 16:34:25 2000
+++ Sablot/engine/sablot.h      Wed Sep  6 16:34:34 2000
@@ -43,7 +43,7 @@ header file for Sablot.cpp
 typedef void *SablotHandle;
 #include "shandler.h"
 
-#if defined(__linux__) || defined(__BORLANDC__) || defined(__unix)
+#if defined(__linux__) || defined(__BORLANDC__) || defined(__unix) || 
+defined(__unix__)
 #define DllImpExp extern
 #else //__linux__ || __BORLANDC__ || __unix
 #ifdef SablotAsExport

Reply via email to