aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-08-03 16:16:14 +0200
committerCorinna Vinschen <corinna@vinschen.de>2022-08-03 16:16:14 +0200
commit7ad791c1eec272eede58a938451ac1b755fc6e5b (patch)
treee4f1e7c0b1afa5ff9fdf52df78641057ced2b9e2 /winsup/cygwin/dcrt0.cc
parentc41f0e700a4865ed1bf23621e9c76343ae5f8587 (diff)
downloadnewlib-7ad791c1eec272eede58a938451ac1b755fc6e5b.zip
newlib-7ad791c1eec272eede58a938451ac1b755fc6e5b.tar.gz
newlib-7ad791c1eec272eede58a938451ac1b755fc6e5b.tar.bz2
Cygwin: drop macro and code for CYGWIN_VERSION_DLL_EPOCH
fix a comment in check_sanity_and_sync() on the way Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 57694bc..9162f84 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -374,14 +374,7 @@ check_sanity_and_sync (per_process *p)
if (sizeof (per_process) != SIZEOF_PER_PROCESS)
api_fatal ("per_process sanity check failed");
- /* Make sure that the app and the dll are in sync. */
-
- /* Complain if older than last incompatible change */
- if (p->dll_major < CYGWIN_VERSION_DLL_EPOCH)
- api_fatal ("cygwin DLL and APP are out of sync -- DLL version mismatch %u < %u",
- p->dll_major, CYGWIN_VERSION_DLL_EPOCH);
-
- /* magic_biscuit != 0 if using the old style version numbering scheme. */
+ /* magic_biscuit must be SIZEOF_PER_PROCESS. */
if (p->magic_biscuit != SIZEOF_PER_PROCESS)
api_fatal ("Incompatible cygwin .dll -- incompatible per_process info %u != %u",
p->magic_biscuit, SIZEOF_PER_PROCESS);