summaryrefslogtreecommitdiff
path: root/src/test_libFLAC/metadata_manip.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/test_libFLAC/metadata_manip.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/test_libFLAC/metadata_manip.c')
-rw-r--r--src/test_libFLAC/metadata_manip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_libFLAC/metadata_manip.c b/src/test_libFLAC/metadata_manip.c
index f0b941ff..19c4e147 100644
--- a/src/test_libFLAC/metadata_manip.c
+++ b/src/test_libFLAC/metadata_manip.c
@@ -259,7 +259,7 @@ static 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 __MINGW32__ && !defined __EMX__
+#if !defined _MSC_VER && !defined __MINGW32__
(void)chown(filename, stats->st_uid, -1);
(void)chown(filename, -1, stats->st_gid);
#endif