projects
/
simpleserver-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b18ec13
)
Do not include unistd.h on Windows. Remove redundant PERL_SET_CONTEXT.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 11 May 2004 12:56:37 +0000
(12:56 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 11 May 2004 12:56:37 +0000
(12:56 +0000)
SimpleServer.xs
patch
|
blob
|
history
diff --git
a/SimpleServer.xs
b/SimpleServer.xs
index
879ea74
..
0f4d5ab
100644
(file)
--- a/
SimpleServer.xs
+++ b/
SimpleServer.xs
@@
-1,6
+1,6
@@
/*
/*
- * $Id: SimpleServer.xs,v 1.21 2004-05-11 12:15:16 sondberg Exp $
+ * $Id: SimpleServer.xs,v 1.22 2004-05-11 12:56:37 adam Exp $
* ----------------------------------------------------------------------
*
* Copyright (c) 2000, Index Data.
* ----------------------------------------------------------------------
*
* Copyright (c) 2000, Index Data.
@@
-38,7
+38,10
@@
#include <yaz/log.h>
#include <yaz/wrbuf.h>
#include <stdio.h>
#include <yaz/log.h>
#include <yaz/wrbuf.h>
#include <stdio.h>
+#ifdef WIN32
+#else
#include <unistd.h>
#include <unistd.h>
+#endif
#include <stdlib.h>
#include <ctype.h>
#define GRS_MAX_FIELDS 500
#include <stdlib.h>
#include <ctype.h>
#define GRS_MAX_FIELDS 500
@@
-1137,8
+1140,6
@@
bend_initresult *bend_init(bend_initrequest *q)
char *passwd = NULL;
CV* handler_cv = 0;
char *passwd = NULL;
CV* handler_cv = 0;
- PERL_SET_CONTEXT(PERL_GET_THX);
-
dSP;
ENTER;
SAVETMPS;
dSP;
ENTER;
SAVETMPS;