]> git.eshelyaron.com Git - emacs.git/commitdiff
Enable the 'copysign' primitive on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Mar 2013 06:12:49 +0000 (09:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Mar 2013 06:12:49 +0000 (09:12 +0300)
 nt/inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
 nt/config.nt (HAVE_COPYSIGN): Define.

nt/ChangeLog
nt/config.nt
nt/inc/ms-w32.h

index f25aef9580c04e1401c8f5735d4ff8a460737a84..59e8ec5b95a3fc827c3bf8f093d5aee584a9584f 100644 (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.
index f8ed6cc3aaab49764316d89001f518f27f0c0bd1..a7e2dce3e063726593c647fc873bf341f05d3c0c 100644 (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. */
index cd183c917c459c74a57c64e9d1e80959910115ad..7b9dbc2430bfd719bb031840860a4aa9e7164b21 100644 (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