emacs-devel
[Top][All Lists]
Advanced

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

Unresolved reference to "strcasecmp" building CVS Emacs on Windows with


From: Fran Litterio
Subject: Unresolved reference to "strcasecmp" building CVS Emacs on Windows with MS Visual Studio 6.0
Date: Fri, 4 Aug 2006 12:42:31 -0400

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
address@hidden
774-573-9321 (mobile, preferred)
781-364-2105 (work)
508-883-5948 (home)




reply via email to

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