[vlc-devel] [PATCH] qt4: Add OpenBSD to supported platforms of the towlower function.

Brad brad at comstyle.com
Wed Nov 3 03:00:02 CET 2010


OpenBSD has towlower() but does not currently define __STDC_ISO_10646__.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
>From 60f2948b05a5fad637e68ad7d2ed4ee33f054ed6 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Tue, 2 Nov 2010 21:52:42 -0400
Subject: [PATCH] qt4: Add OpenBSD to supported platforms of the towlower function.

---
 modules/gui/qt4/util/customwidgets.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/customwidgets.cpp b/modules/gui/qt4/util/customwidgets.cpp
index de5c877..30c9e28 100644
--- a/modules/gui/qt4/util/customwidgets.cpp
+++ b/modules/gui/qt4/util/customwidgets.cpp
@@ -425,7 +425,7 @@ int qtEventToVLCKey( QKeyEvent *e )
 
     if( qtk <= 0xff )
         /* VLC and X11 use lowercase whereas Qt uses uppercase */
-#if defined( __STDC_ISO_10646__ ) || defined( _WIN32 ) || defined( __APPLE__ )
+#if defined( __STDC_ISO_10646__ ) || defined( _WIN32 ) || defined( __APPLE__ ) || defined( __OpenBSD__ )
         i_vlck = towlower( qtk );
 #else
 # error FIXME
-- 
1.7.3.1



More information about the vlc-devel mailing list