aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/back/x86.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/back/x86.rs b/src/comp/back/x86.rs
index 86631e93..0a5fc506 100644
--- a/src/comp/back/x86.rs
+++ b/src/comp/back/x86.rs
@@ -131,7 +131,7 @@ fn get_module_asm() -> str {
auto align = 4;
auto prefix = "";
- if (target_os() == "macos") {
+ if (_str.eq(target_os(), "macos")) {
prefix = "_";
}