Review Request 127205: Add stubs to allow compilation on Android.

Andreas Cord-Landwehr cordlandwehr at kde.org
Wed Mar 2 20:18:36 UTC 2016


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

(Updated März 2, 2016, 8:18 nachm.)


Review request for KDE Frameworks, Aleix Pol Gonzalez and Alex Richardson.


Changes
-------

Changes:
- everywhere use __BIONIC__ instead of Q_OS_ANDROID
- change macros to noop functions


Repository: kcoreaddons


Description
-------

Android's libc implementation lacks several features required by the Unix backend implementation. This patch allows compilation by adding stubs for all missing struct members and functions. Result of this patch is that on Android KUser returns empty GUID and UID lists.


Diffs (updated)
-----

  CMakeLists.txt da67071 
  src/lib/CMakeLists.txt cf57f09 
  src/lib/util/kuser_unix.cpp de5acde 

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


Testing
-------

Compilation tested on Linux and Android.


Thanks,

Andreas Cord-Landwehr

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


More information about the Kde-frameworks-devel mailing list