summaryrefslogtreecommitdiff
path: root/src/libFLAC/metadata_iterators.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2012-02-08 21:07:08 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2012-02-08 21:07:08 +1100
commitdac99fa20b60a01a753463996bff5d4a2e99f2a5 (patch)
treec8fa9a6f64e617f42b54991a10cb02a714a11ead /src/libFLAC/metadata_iterators.c
parentefffc25c18b8d4c4b60cbe76559eefb00d61aa71 (diff)
downloadflac-dac99fa20b60a01a753463996bff5d4a2e99f2a5.tar.gz
Patch from Dave Yeo to remove more CPP hackery.
Dave's comments: This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been been replaced by klibc. Considering the age of EMX and lack of testing and that klibc contains so many improvements I think this is exceptable.
Diffstat (limited to 'src/libFLAC/metadata_iterators.c')
-rw-r--r--src/libFLAC/metadata_iterators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c
index e9d5275f..32e8ed30 100644
--- a/src/libFLAC/metadata_iterators.c
+++ b/src/libFLAC/metadata_iterators.c
@@ -3312,7 +3312,7 @@ void set_file_stats_(const char *filename, struct stat *stats)
srctime.modtime = stats->st_mtime;
(void)chmod(filename, stats->st_mode);
(void)utime(filename, &srctime);
-#if !defined _MSC_VER && !defined __BORLANDC__ && !defined __MINGW32__ && !defined __EMX__
+#if !defined _MSC_VER && !defined __BORLANDC__ && !defined __MINGW32__
(void)chown(filename, stats->st_uid, -1);
(void)chown(filename, -1, stats->st_gid);
#endif