libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libjit] [PATCH v2 3/3] Remove reference to __CYGWIN32__


From: Ken Brown
Subject: [Libjit] [PATCH v2 3/3] Remove reference to __CYGWIN32__
Date: Sat, 1 Sep 2018 10:27:48 -0400

---
 ChangeLog           | 7 +++++++
 jit/jit-apply-x86.h | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 09fe37d..2cf222d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-09-01  Ken Brown  <address@hidden>
+
+       * jit/jit-apply-x86.h: Remove reference to __CYGWIN32__.  This is
+       deprecated and unnecessary.  It could only cause confusion, since
+       readers of the code might think it's intended to distinguish
+       32-bit Cygwin from 64-bit Cygwin.
+
 2018-09-01  Ken Brown  <address@hidden>
 
        Don't use Win32 API on Cygwin.
diff --git a/jit/jit-apply-x86.h b/jit/jit-apply-x86.h
index 1e3f168..fa46045 100644
--- a/jit/jit-apply-x86.h
+++ b/jit/jit-apply-x86.h
@@ -30,12 +30,12 @@
  * code instead.
  *
  * There are three versions here: gcc/non-Win32, gcc/Win32, and msvc/Win32.
+ * Cygwin is included in the gcc/Win32 case.
  */
 
 #if defined(__GNUC__)
 
-#if !defined(__CYGWIN__) && !defined(__CYGWIN32__) && \
-       !defined(_WIN32) && !defined(WIN32)
+#if !defined(__CYGWIN__) && !defined(_WIN32) && !defined(WIN32)
 
 /* Mac OS X prefixes static symbols with an underscore, and external symbol
    references are late-bound through a PIC stub by the dynamic linker */
-- 
2.17.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]