Commit 8d571e28 authored by Paul Millar's avatar Paul Millar Committed by Alexandre Julliard

libwine: Fix naked getuid() to allow compilation under MinGW.

parent 1d930010
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment