projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pazpar2 compiles on Windows. But does not yet work
[pazpar2-moved-to-github.git]
/
src
/
pazpar2.c
diff --git
a/src/pazpar2.c
b/src/pazpar2.c
index
0a32283
..
a4be363
100644
(file)
--- a/
src/pazpar2.c
+++ b/
src/pazpar2.c
@@
-52,7
+52,7
@@
void child_handler(void *data)
static void show_version(void)
{
char yaz_version_str[80];
static void show_version(void)
{
char yaz_version_str[80];
- printf("Pazpar2 " VERSION "\n");
+ printf("Pazpar2 " PACKAGE_VERSION "\n");
yaz_version(yaz_version_str, 0);
yaz_version(yaz_version_str, 0);
@@
-74,8
+74,10
@@
int main(int argc, char **argv)
const char *pidfile = 0;
const char *uid = 0;
const char *pidfile = 0;
const char *uid = 0;
+#ifndef WIN32
if (signal(SIGPIPE, SIG_IGN) == SIG_ERR)
yaz_log(YLOG_WARN|YLOG_ERRNO, "signal");
if (signal(SIGPIPE, SIG_IGN) == SIG_ERR)
yaz_log(YLOG_WARN|YLOG_ERRNO, "signal");
+#endif
yaz_log_init_prefix("pazpar2");
#if YAZ_VERSIONL >= 0x03001B
yaz_log_init_prefix("pazpar2");
#if YAZ_VERSIONL >= 0x03001B