unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Unresolved reference to "strcasecmp" building CVS Emacs on Windows with MS Visual Studio 6.0
@ 2006-08-04 16:42 Fran Litterio
  2006-08-04 17:23 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Fran Litterio @ 2006-08-04 16:42 UTC (permalink / raw)


When I do "nmake bootstrap" to build the latest CVS Emacs on Windows
XP with MS Visual Studio 6.0 installed, I get an unresolved reference
to "strcasecmp" when linking temacs.exe. I had to apply the following
patch to get a clean build:

--- src/s/ms-w32.h      21 Apr 2006 09:24:03 -0000      1.40
+++ src/s/ms-w32.h      4 Aug 2006 16:38:50 -0000
@@ -386,6 +386,7 @@
 #define stricmp   _stricmp
 #define tzset     _tzset
 #define tzname    _tzname
+#define strcasecmp _stricmp

 #ifdef HAVE_NTGUI
 #define abort  w32_abort

I'm not sure if the above patch is the best way to solve this problem,
but it works for me.
-- 
Francis Litterio
flitterio@gmail.com
774-573-9321 (mobile, preferred)
781-364-2105 (work)
508-883-5948 (home)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-05  2:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04 16:42 Unresolved reference to "strcasecmp" building CVS Emacs on Windows with MS Visual Studio 6.0 Fran Litterio
2006-08-04 17:23 ` Eli Zaretskii
2006-08-05  2:02   ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).