changeset 1031:1f23803e1f83

Fix linux build. Has_high_integrity is only implemented for windows.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 04 Sep 2014 11:59:01 +0200
parents 76cae27b5d83
children 44936ca379bb
files common/util.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common/util.c	Thu Sep 04 11:11:36 2014 +0200
+++ b/common/util.c	Thu Sep 04 11:59:01 2014 +0200
@@ -405,6 +405,7 @@
 }
 #endif
 
+#ifdef WIN32
 bool
 has_high_integrity(HANDLE hToken)
 {
@@ -449,6 +450,7 @@
 
   return integrity_level >= SECURITY_MANDATORY_HIGH_RID;
 }
+#endif
 
 bool
 is_elevated()

http://wald.intevation.org/projects/trustbridge/