Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/uname.cc7
2 files changed, 0 insertions, 10 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index b39d0dbe9..f21aba726 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -74,9 +74,6 @@ details. */
#define CYGWIN_VERSION_CHECK_FOR_EXTRA_TM_MEMBERS \
(CYGWIN_VERSION_USER_API_VERSION_COMBINED >= 272)
-#define CYGWIN_VERSION_CHECK_FOR_UNAME_X \
- (CYGWIN_VERSION_USER_API_VERSION_COMBINED >= 335)
-
#define CYGWIN_VERSION_CYGWIN_CONV 181
/* API_MAJOR 0.0: Initial version. API_MINOR changes:
diff --git a/winsup/cygwin/uname.cc b/winsup/cygwin/uname.cc
index 48f7dda60..350216681 100644
--- a/winsup/cygwin/uname.cc
+++ b/winsup/cygwin/uname.cc
@@ -92,14 +92,7 @@ struct old_utsname
extern "C" int
uname (struct utsname *in_name)
{
- /* This occurs if the application fetches the uname symbol dynamically.
- We must call uname_x for newer API versions, otherwise the idea of
- struct utsname doesn't match. */
- if (CYGWIN_VERSION_CHECK_FOR_UNAME_X)
- return uname_x (in_name);
-
struct old_utsname *name = (struct old_utsname *) in_name;
-
__try
{
char *snp = strstr (cygwin_version.dll_build_date, "SNP");