This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Provide <memory.h>
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org, newlib-cvs at sourceware dot org
- Date: 22 Nov 2016 15:25:50 -0000
- Subject: [newlib-cygwin] Provide <memory.h>
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9fbd510569df2916cbcc69d46e1d0da9f63643e1
commit 9fbd510569df2916cbcc69d46e1d0da9f63643e1
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Tue Nov 22 07:59:17 2016 +0100
Provide <memory.h>
Provide <memory.h> for all standard Newlib targets and remove
Cygwin-specific header. Most POSIX like systems provide this historic
header.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diff:
---
newlib/libc/include/memory.h | 4 ++++
winsup/cygwin/include/memory.h | 15 ---------------
2 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/newlib/libc/include/memory.h b/newlib/libc/include/memory.h
new file mode 100644
index 0000000..f4a14fc
--- /dev/null
+++ b/newlib/libc/include/memory.h
@@ -0,0 +1,4 @@
+#ifndef _MEMORY_H
+#define _MEMORY_H
+#include <string.h>
+#endif /* !_MEMORY_H */
diff --git a/winsup/cygwin/include/memory.h b/winsup/cygwin/include/memory.h
deleted file mode 100644
index 42370a9..0000000
--- a/winsup/cygwin/include/memory.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* memory.h
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#ifndef _MEMORY_H
-#define _MEMORY_H
-
-/* This allows more things to compile. */
-#include <string.h>
-
-#endif /* _MEMORY_H */