comparison common/util.c @ 671:d4766b4922c9

Fix linux build
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 27 Jun 2014 11:01:14 +0200
parents 175370634226
children 4ad764bfb39c
comparison
equal deleted inserted replaced
670:175370634226 671:d4766b4922c9
17 #include <string.h> 17 #include <string.h>
18 #else 18 #else
19 #include <windows.h> 19 #include <windows.h>
20 #endif 20 #endif
21 21
22 #ifdef WIN32
22 static PSID 23 static PSID
23 copy_sid(PSID from) 24 copy_sid(PSID from)
24 { 25 {
25 if (!from) 26 if (!from)
26 { 27 {
65 return sid; 66 return sid;
66 } 67 }
67 } 68 }
68 return NULL; 69 return NULL;
69 } 70 }
71 #endif
70 72
71 bool 73 bool
72 is_elevated() 74 is_elevated()
73 { 75 {
74 bool ret = false; 76 bool ret = false;

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