Skip to main content.
home | support | download

Back to List Archive

Re: Status of PHRASE search

From: David Norris <dave(at)>
Date: Wed Apr 19 2000 - 20:34:09 GMT
Jose Manuel Ruiz wrote:
> Something about Wintel platforms ...
> I do not know how many people is using swish-e in WIN32
> platforms. Now, I do not have any Windows compiler. But

It look like MSVC doesn't provide snprintf, pclose, popen, vsnprintf,
nor strcasecmp.  There appear to be equivalents for everything but
strcasecmp.  What exactly is strcasecmp?  How does it differ from
strcmp?  It should be simple to find something which can be substituted
for Win32.

I don't yet know if this works, but, it fixed the compiler/linker errors
except for strcasecmp().  In swish.h modify the Win32 definitions as

#ifdef _WIN32
#include "win32/dirent.h"
#define snprintf _snprintf
#define pclose _pclose
#define popen _popen
#define vsnprintf _vsnprintf
#include <dirent.h>

,David Norris
  Open Server Architecture Project -
  Dave's Web -
  Dave's Weather -
  ICQ Universal Internet Number - 412039
  E-Mail -
Received on Wed Apr 19 13:33:32 2000