emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112184: Enable the 'copysign' primit


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112184: Enable the 'copysign' primitive on MS-Windows.
Date: Sat, 30 Mar 2013 09:12:49 +0300
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112184
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2013-03-30 09:12:49 +0300
message:
  Enable the 'copysign' primitive on MS-Windows.
  
   nt/inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
   nt/config.nt (HAVE_COPYSIGN): Define.
modified:
  nt/ChangeLog
  nt/config.nt
  nt/inc/ms-w32.h
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog      2013-03-29 03:02:22 +0000
+++ b/nt/ChangeLog      2013-03-30 06:12:49 +0000
@@ -1,3 +1,9 @@
+2013-03-29  Eli Zaretskii  <address@hidden>
+
+       * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
+
+       * config.nt (HAVE_COPYSIGN): Define.
+
 2013-03-29  Juanma Barranquero  <address@hidden>
 
        * config.nt: Sync with autogen/config.in.

=== modified file 'nt/config.nt'
--- a/nt/config.nt      2013-03-29 03:02:22 +0000
+++ b/nt/config.nt      2013-03-30 06:12:49 +0000
@@ -251,7 +251,7 @@
 #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. */

=== modified file 'nt/inc/ms-w32.h'
--- a/nt/inc/ms-w32.h   2013-03-27 08:40:24 +0000
+++ b/nt/inc/ms-w32.h   2013-03-30 06:12:49 +0000
@@ -258,6 +258,7 @@
 typedef int pid_t;
 #define snprintf  _snprintf
 #define strtoll   _strtoi64
+#define copysign  _copysign
 #endif
 #define isatty    _isatty
 #define _longjmp  longjmp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]