* shared.cc (shared_info::initialize): Use correct value for version
comparison. * include/cygwin/version.h (CYGWIN_VERSION_MAGIC): Use all of a DWORD for magic calculation.
This commit is contained in:
@ -230,5 +230,5 @@ details. */
|
||||
cygwin_internal (CW_GETVERSIONINFO).
|
||||
*/
|
||||
|
||||
#define CYGWIN_VERSION_MAGIC(a, b) ((unsigned) (((unsigned short) a) | (unsigned short) b))
|
||||
#define CYGWIN_VERSION_MAGIC(a, b) ((unsigned) ((((unsigned short) a) << 16) | (unsigned short) b))
|
||||
#define CYGWIN_VERSION_MAGIC_VERSION(a) ((unsigned) ((unsigned)a & 0xffff))
|
||||
|
Reference in New Issue
Block a user