[rkward-cvs] SF.net SVN: rkward: [1812] trunk/rkward/rkward/rbackend/rklocalesupport.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Apr 11 22:43:47 UTC 2007


Revision: 1812
          http://svn.sourceforge.net/rkward/?rev=1812&view=rev
Author:   tfry
Date:     2007-04-11 15:43:47 -0700 (Wed, 11 Apr 2007)

Log Message:
-----------
Compilation fix for FreeBSD (thanks to Thomas Thierry)

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rklocalesupport.cpp

Modified: trunk/rkward/rkward/rbackend/rklocalesupport.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rklocalesupport.cpp	2007-04-11 22:41:42 UTC (rev 1811)
+++ trunk/rkward/rkward/rbackend/rklocalesupport.cpp	2007-04-11 22:43:47 UTC (rev 1812)
@@ -17,9 +17,14 @@
 
 #include "rklocalesupport.h"
 
+// see https://sourceforge.net/tracker/?func=detail&atid=459009&aid=1698809&group_id=50231
+#ifdef __FreeBSD__
+# include <langinfo.h>
+#endif
+
 #include <qtextcodec.h>
 
-/* NOTE: This code in this file is an almost literal copy taken from setupLocaleMapper in qtextcodec.cpp in Qt 3.3.8 !*/
+/* NOTE: The code in this file is an almost literal copy taken from setupLocaleMapper in qtextcodec.cpp in Qt 3.3.8 !*/
 
 QTextCodec *checkForCodec(const char *name) {
     QTextCodec *c = QTextCodec::codecForName(name);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list