diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2005-09-03 03:54:16 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2005-09-03 03:54:16 +0000 |
commit | e9a638d00468bc1b7f4435bb3d9a7ae8067c1f63 (patch) | |
tree | a950610538dd795ec7941a76fafcc45810e7f7d3 /src/test_libFLAC | |
parent | 1be4415813c774cd0460a9b5e62a8f49d0b360c4 (diff) | |
download | flac-e9a638d00468bc1b7f4435bb3d9a7ae8067c1f63.tar.gz |
add support for building on os/2 with emx
Diffstat (limited to 'src/test_libFLAC')
-rw-r--r-- | src/test_libFLAC/metadata_manip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_libFLAC/metadata_manip.c b/src/test_libFLAC/metadata_manip.c index eedd0c3c..4909844d 100644 --- a/src/test_libFLAC/metadata_manip.c +++ b/src/test_libFLAC/metadata_manip.c @@ -204,7 +204,7 @@ FLAC__bool transport_tempfile_(const char *filename, FILE **tempfile, char **tem *tempfile = 0; } -#if defined _MSC_VER || defined __MINGW32__ +#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__ if(unlink(filename) < 0) { cleanup_tempfile_(tempfile, tempfilename); return false; @@ -239,7 +239,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 __MINGW32__ +#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__ (void)chown(filename, stats->st_uid, -1); (void)chown(filename, -1, stats->st_gid); #endif |