[nemiver: 1/2] Port nemiver::UString to OpenBSD



commit 7cd8a54b8b11c73054ae686f6f4f51ceb54dcb4b
Author: Landry Breuil <landry rhaalovely net>
Date:   Thu Mar 12 13:50:57 2009 +0100

    Port nemiver::UString to OpenBSD
    
    	* src/common/nmv-ustring.cc: Define strnlen for OpenBSD.
---
 src/common/nmv-ustring.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/nmv-ustring.cc b/src/common/nmv-ustring.cc
index b3d5540..71c9d90 100644
--- a/src/common/nmv-ustring.cc
+++ b/src/common/nmv-ustring.cc
@@ -38,7 +38,7 @@ using namespace std ;
 NEMIVER_BEGIN_NAMESPACE (nemiver)
 NEMIVER_BEGIN_NAMESPACE (common)
 
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
 int
 strnlen (const gchar *string, gulong a_len)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]