]> git.eshelyaron.com Git - emacs.git/commit
Fix MS-Windows build --with-modules
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Nov 2015 20:09:08 +0000 (22:09 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Nov 2015 20:09:08 +0000 (22:09 +0200)
commit520dc85f313e2a30759fd73206c30bff27062785
treed59145d63be40c3d706547d538df408b7c59ba77
parent9328e3d0ea374ab2d99a311cbf6f9db75cf718bf
Fix MS-Windows build --with-modules

* src/module.c: Reformat copyright commentary.
(module_vec_get): Use explicit cast to size_t to avoid compiler
warning in 32-bit builds.
(check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
Compare thread IDs directly, as GetThreadId is not available
before Windows Vista.
(check_main_thread) [WINDOWSNT]: Duplicate the thread handle
without using APIs and constants not available on XP and older
systems.  Obtain and store the thread ID as well.
src/module.c