/* $Id$
$State$
$Log$
+ Revision 1.159 2014/09/01 10:34:10 brouard
+ Summary: WIN32
+ Author: Brouard
+
Revision 1.158 2014/08/27 17:11:51 brouard
*** empty log message ***
gives blocc="abcdef2ghi" and alocc="j".
If occ is not found blocc is null and alocc is equal to in. Returns blocc
*/
- char *s, *t, *bl;
+ char *s, *t;
t=in;s=in;
while ((*in != occ) && (*in != '\0')){
*alocc++ = *in++;
/* } */
/* } */
+#ifdef _WIN32
+char * strsep(char **pp, const char *delim)
+{
+ char *p, *q;
+
+ if ((p = *pp) == NULL)
+ return 0;
+ if ((q = strpbrk (p, delim)) != NULL)
+ {
+ *pp = q + 1;
+ *q = '\0';
+ }
+ else
+ *pp = 0;
+ return p;
+}
+#endif
+
/********************** nrerror ********************/
void nrerror(char error_text[])