Enable the 'copysign' primitive on MS-Windows.

nt/inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
 nt/config.nt (HAVE_COPYSIGN): Define.
This commit is contained in:
Eli Zaretskii 2013-03-30 09:12:49 +03:00
parent 0b93819010
commit 668284362c
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2013-03-29 Eli Zaretskii <eliz@gnu.org>
* inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
* config.nt (HAVE_COPYSIGN): Define.
2013-03-29 Juanma Barranquero <lekktu@gmail.com>
* config.nt: Sync with autogen/config.in.

View file

@ -251,7 +251,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#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. */

View file

@ -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