From 8092da597ba0eb3b6eb15255c2ae9e5c4d6a0824 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 21 Nov 2017 14:49:04 -0500 Subject: [PATCH] Fixed linux mac check bug --- 4coder_base_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4coder_base_commands.cpp b/4coder_base_commands.cpp index 3d8b164d..c3293b36 100644 --- a/4coder_base_commands.cpp +++ b/4coder_base_commands.cpp @@ -1052,7 +1052,7 @@ CUSTOM_DOC("Deletes the file of the current buffer if 4coder has the appropriate #if defined(_WIN32) append(&cmd, "del "); -#elif defined(__linux__) && defined(__APPLE__) && defined(__MACH__) +#elif defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) append(&cmd, "rm "); #else # error no delete file command for this platform