emacs-pretest-bug
[Top][All Lists]
Advanced

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

w32 build problem in src/process.c


From: Bill Karh
Subject: w32 build problem in src/process.c
Date: Tue, 05 Dec 2006 11:37:18 -0800

Hey,

I'm unable to build the latest CVS version with MSVC.  There is a
compiler problem with src/process.c and the "strncasecmp" and
"strcasecmp" symbols.  Here is the patch.

--8<---------------cut here---------------start------------->8---
diff -u -w -r1.41 ms-w32.h
--- src/s/ms-w32.h      13 Nov 2006 11:26:30 -0000      1.41
+++ src/s/ms-w32.h      5 Dec 2006 19:31:48 -0000
@@ -384,6 +384,8 @@
 #define strupr    _strupr
 #define strnicmp  _strnicmp
 #define stricmp   _stricmp
+#define strcasecmp  _stricmp
+#define strncasecmp _strnicmp
 #define tzset     _tzset
 #define tzname    _tzname
--8<---------------cut here---------------end--------------->8---

In GNU Emacs 22.0.91.1 (i386-msvc-nt5.1.2600)
 of 2006-11-30 on PSG-BKARH
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-msvc (12.00) --cflags 
-Ic:/emacs/contrib/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t


-- 
Regards,
Bill Karh
Visto Corporation
Senior Engineer - Professional Services Engineering
425.785.2316 M
206.428.4246 O
206.428.4101 F

"The information in this email is confidential and is intended solely
for the addressee(s). Access to this email by anyone else is
unauthorized.  If you are not an intended recipient, you must not read,
use or disseminate the information contained in the email. Any views
expressed in this message are those of the individual sender, except
where the sender specifically states them to be the views of Visto
Corporation."




reply via email to

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