[llvm] [SystemZ][z/OS] Fix macro (PR #74878)

Abhina Sree via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 10:26:48 PST 2023


https://github.com/abhina-sree created https://github.com/llvm/llvm-project/pull/74878

This fixes the macro syntax

>From c6a01a71162b651783d96fdc63299413ebab6599 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan <Abhina.Sreeskantharajan at ibm.com>
Date: Fri, 8 Dec 2023 13:25:50 -0500
Subject: [PATCH] fix macro

---
 llvm/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index abe415f77facd..35be9bf16b5e1 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -1130,7 +1130,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "OS390")
   add_compile_definitions(_OPEN_SYS) # Needed for process information.
   add_compile_definitions(_OPEN_SYS_FILE_EXT) # Needed for EBCDIC I/O.
   add_compile_definitions(_EXT) # Needed for file data.
-  add_compile_definitions("-D_UNIX03_THREADS") # Multithreading support.
+  add_compile_definitions(_UNIX03_THREADS) # Multithreading support.
 endif()
 
 # Build with _FILE_OFFSET_BITS=64 on Solaris to match g++ >= 9.



More information about the llvm-commits mailing list