aboutsummaryrefslogtreecommitdiff
path: root/lib/mime.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-04-24 15:29:05 -0400
committerGitHub <noreply@github.com>2020-04-24 15:29:05 -0400
commit338abde356efcae6cf0a000b71b781d21c8733b6 (patch)
treeb275d303c93662ea4879fdca4597aa21e1c9421c /lib/mime.c
parentd78903961ee95376bccde7c1313be5b583911ab7 (diff)
parent24992f1f426111f0ce05df341087a55486ae48db (diff)
downloadspmc-338abde356efcae6cf0a000b71b781d21c8733b6.tar.gz
Merge pull request #30 from jhunkeler/shlib-macos
Shlib macos
Diffstat (limited to 'lib/mime.c')
-rw-r--r--lib/mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mime.c b/lib/mime.c
index 9e4bdce..9d0205c 100644
--- a/lib/mime.c
+++ b/lib/mime.c
@@ -14,7 +14,7 @@ Process *file_command(const char *_filename) {
Process *proc_info = NULL;
char sh_cmd[PATH_MAX];
sh_cmd[0] = '\0';
-#ifdef __APPLE__
+#if OS_DARWIN
const char *fmt_cmd = "file -I \"%s\" 2>&1";
#else // GNU
const char *fmt_cmd = "file -i \"%s\" 2>&1";