diff common/util.c @ 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 6684e5012b7a
children f110a3f6e387
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/