Review Request 122481: Fix use of environ for OS X

Jeremy Whiting jpwhiting at kde.org
Sun Feb 8 22:06:04 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122481/
-----------------------------------------------------------

(Updated Feb. 8, 2015, 3:06 p.m.)


Review request for KDE Frameworks, David Faure, Marko Käning, and René J.V. Bertin.


Changes
-------

Changed to use Q_OS_OSX macro.


Repository: kio


Description
-------

On OS X 10.7 environ needs to be #defined as _NSGetEnviron() from <crt_externs.h> according to man environ. This is also required for kio to build on OS X 10.7


Diffs (updated)
-----

  src/widgets/kurlcompletion.cpp 1871c49a936e2ca322286e23ad6fe976ae2c7044 

Diff: https://git.reviewboard.kde.org/r/122481/diff/


Testing
-------

kio builds with this patch on OS X 10.7 and 10.10


Thanks,

Jeremy Whiting

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150208/d791691c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list