From: Eli Zaretskii Date: Sat, 30 Mar 2013 06:12:49 +0000 (+0300) Subject: Enable the 'copysign' primitive on MS-Windows. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~526^2~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=668284362c4189f6de2c617902f73725a59adfaf;p=emacs.git Enable the 'copysign' primitive on MS-Windows. nt/inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign. nt/config.nt (HAVE_COPYSIGN): Define. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index f25aef9580c..59e8ec5b95a 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,9 @@ +2013-03-29 Eli Zaretskii + + * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign. + + * config.nt (HAVE_COPYSIGN): Define. + 2013-03-29 Juanma Barranquero * config.nt: Sync with autogen/config.in. diff --git a/nt/config.nt b/nt/config.nt index f8ed6cc3aaa..a7e2dce3e06 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -251,7 +251,7 @@ along with GNU Emacs. If not, see . */ #undef HAVE_COM_ERR_H /* Define to 1 if you have the `copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 /* Define to 1 if data_start is the address of the start of the main data segment. */ diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index cd183c917c4..7b9dbc2430b 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h @@ -258,6 +258,7 @@ extern int sys_unlink (const char *); typedef int pid_t; #define snprintf _snprintf #define strtoll _strtoi64 +#define copysign _copysign #endif #define isatty _isatty #define _longjmp longjmp