mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-03 20:24:29 +00:00
Define a replacement for va_copy for MSVC.
nt/config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
This commit is contained in:
parent
57679c8695
commit
394970663d
@ -1,3 +1,7 @@
|
||||
2011-05-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
|
||||
|
||||
2011-05-07 Ben Key <bkey76@gmail.com>
|
||||
|
||||
* configure.bat: Renamed the fusercflags variable to escusercflags
|
||||
|
11
nt/config.nt
11
nt/config.nt
@ -337,6 +337,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||
# define restrict
|
||||
#endif
|
||||
|
||||
/* A va_copy replacement for MSVC. */
|
||||
#ifdef _MSC_VER
|
||||
# ifdef _WIN64
|
||||
# ifndef va_copy
|
||||
# error "va_copy is needed, but not defined!"
|
||||
# endif
|
||||
# else /* not _WIN64 */
|
||||
# define va_copy(d,s) ((d) = (s))
|
||||
# endif /* not _WIN64 */
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
/* Define as a marker that can be attached to declarations that might not
|
||||
be used. This helps to reduce warnings, such as from
|
||||
GCC -Wunused-parameter. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user