[PATCH 2/7] Cygwin: Enable backward binary compatibility

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
---
 winsup/cygwin/include/cygwin/config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h
index 71a216fbd..2d410a2e7 100644
--- a/winsup/cygwin/include/cygwin/config.h
+++ b/winsup/cygwin/include/cygwin/config.h
@@ -80,6 +80,7 @@ extern inline struct _reent *__getreent (void)
 #define __TM_GMTOFF tm_gmtoff
 #define __TM_ZONE   tm_zone
 #define _USE_LONG_TIME_T 1
+#define _NEWLIB_BACKWARD_BINARY_COMPAT 1
 
 #if defined(__INSIDE_CYGWIN__) || defined(_LIBC)
 #define __EXPORT __declspec(dllexport)
-- 
2.35.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.