libwine: Fix naked getuid() to allow compilation under MinGW.
This commit is contained in:
parent
1d9300104e
commit
8d571e28f1
|
@ -230,7 +230,9 @@ static void init_paths(void)
|
|||
}
|
||||
}
|
||||
if (!S_ISDIR(st.st_mode)) fatal_error( "%s is not a directory\n", config_dir );
|
||||
#ifdef HAVE_GETUID
|
||||
if (st.st_uid != getuid()) fatal_error( "%s is not owned by you\n", config_dir );
|
||||
#endif
|
||||
|
||||
init_server_dir( st.st_dev, st.st_ino );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue