diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-09 11:38:25 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-09 14:38:19 +0000 |
| commit | 8ed59c2108b433165294d90b8c73ceb2f355b3c2 (patch) | |
| tree | cfdfd1c3780c96130d6462df414ae960a86fc1ce /src/lib | |
| parent | 1e77753ef4119b6d7df7d2255b1a1d8d6af951de (diff) | |
swaroop: windows build fix.v2.13.69
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/config.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index 99115f2d7..b64690aad 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -233,7 +233,7 @@ void Config::read () try { -#ifdef 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); |
