Merge lp:~laney/unity-greeter/posix-vala-0.22 into lp:unity-greeter

Proposed by Iain Lane
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 997
Merged at revision: 1000
Proposed branch: lp:~laney/unity-greeter/posix-vala-0.22
Merge into: lp:unity-greeter
Diff against target: 16 lines (+2/-0)
1 file modified
src/fixes.vapi (+2/-0)
To merge this branch: bzr merge lp:~laney/unity-greeter/posix-vala-0.22
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+192497@code.launchpad.net

Commit message

vala-0.22 binds mlockall/munlockall. We should only do it ourselves when building with older valas.

Description of the change

vala-0.22 binds mlockall/munlockall. We should only do it ourselves when building with older valas.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Nice!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/fixes.vapi'
2--- src/fixes.vapi 2012-08-03 13:31:27 +0000
3+++ src/fixes.vapi 2013-10-24 12:36:28 +0000
4@@ -1,3 +1,4 @@
5+#if !VALA_0_22
6 namespace Posix
7 {
8 [CCode (cheader_filename = "sys/mman.h")]
9@@ -9,6 +10,7 @@
10 [CCode (cheader_filename = "sys/mman.h")]
11 public int munlockall ();
12 }
13+#endif
14
15 [CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "X11/Xlib.h")]
16 namespace X

Subscribers

People subscribed via source and target branches