[rtems-tools commit] elftoolchain: Add support for Cygwin.

Chris Johns chrisj at rtems.org
Tue Mar 17 10:37:59 UTC 2015


Module:    rtems-tools
Branch:    master
Commit:    dfc5994847831cc2124c8bb4825439da18fee4bf
Changeset: http://git.rtems.org/rtems-tools/commit/?id=dfc5994847831cc2124c8bb4825439da18fee4bf

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Mar 17 21:37:43 2015 +1100

elftoolchain: Add support for Cygwin.

---

 rtemstoolkit/elftoolchain/libelf/_libelf_config.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rtemstoolkit/elftoolchain/libelf/_libelf_config.h b/rtemstoolkit/elftoolchain/libelf/_libelf_config.h
index a318e70..120f090 100644
--- a/rtemstoolkit/elftoolchain/libelf/_libelf_config.h
+++ b/rtemstoolkit/elftoolchain/libelf/_libelf_config.h
@@ -117,7 +117,7 @@
 
 #ifdef __APPLE__
 
-#define	LIBELF_VCSID(ID) 
+#define	LIBELF_VCSID(ID)
 
 #if	defined(__amd64__)
 
@@ -174,9 +174,9 @@
 
 #endif /* defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) */
 
-#ifdef __WIN32__
+#if defined(__WIN32__) || defined(__CYGWIN__)
 
-#define	LIBELF_VCSID(ID) 
+#define	LIBELF_VCSID(ID)
 
 #if	defined(__amd64__)
 




More information about the vc mailing list