Ignore:
Timestamp:
May 31, 2011, 3:13:53 AM (9 years ago)
Author:
djay
Message:

Add WIN32 platform support. Fix for values containing @ passed as KVP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/zoo_loader.c

    r114 r216  
    2626#define MALLOC_CHECK 0
    2727
     28#ifdef WIN32
     29#include "windows.h"
     30#endif
    2831/**
    2932 * Specific includes
     
    6467/* ************************************************************************* */
    6568
    66 #ifndef STRTOK_R
    67 char *
    68 strtok_r (char *s1, const char *s2, char **lasts)
    69 {
    70   char *ret;
    71 
    72   if (s1 == NULL)
    73     s1 = *lasts;
    74   while (*s1 && strchr(s2, *s1))
    75     ++s1;
    76   if (*s1 == '\0')
    77     return NULL;
    78   ret = s1;
    79   while (*s1 && !strchr(s2, *s1))
    80     ++s1;
    81   if (*s1)
    82     *s1++ = '\0';
    83   *lasts = s1;
    84   return ret;
    85 }
    86 
    87 #endif
    8869
    8970#define TRUE 1
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png