projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swaroop: windows build fix.
[dcpomatic.git]
/
src
/
lib
/
config.cc
diff --git
a/src/lib/config.cc
b/src/lib/config.cc
index 99115f2d765d7923a043f9e7f7b88d08743a5262..b64690aadf4df86569b3e6a047d223038c1fbbfb 100644
(file)
--- a/
src/lib/config.cc
+++ b/
src/lib/config.cc
@@
-233,7
+233,7
@@
void
Config::read ()
try
{
-#if
def DCPOMATIC_VARIANT_SWAROOP
+#if
defined(DCPOMATIC_VARIANT_SWAROOP) && defined(DCPOMATIC_LINUX)
if (geteuid() == 0) {
/* Take ownership of the config file if we're root */
chown (config_file().string().c_str(), 0, 0);