diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-04-24 12:29:49 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-04-24 12:29:49 -0400 |
commit | 436ce68ecd41ad66e7a0605b47b5814582db8538 (patch) | |
tree | 4c54676d3ef16f3cae4244f94bdb1cb23a514926 /lib/mime.c | |
parent | d570692d29d5dade7882ee19ca8d992a8960201d (diff) | |
download | spmc-436ce68ecd41ad66e7a0605b47b5814582db8538.tar.gz |
Consolidate platform detection preprocessor checks
Diffstat (limited to 'lib/mime.c')
-rw-r--r-- | lib/mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |