Ignore:
Timestamp:
Dec 22, 2020, 6:12:05 PM (3 years ago)
Author:
djay
Message:

Use zMkdir for building on windows

Location:
trunk/zoo-project/zoo-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.h

    r962 r975  
    8888
    8989#else
     90#include <sys/stat.h>
    9091/**
    9192 * The crossplatform strdup alias
     
    9596 * The crossplatform mkdir alias
    9697 */
    97 #define zMkdir mkdir
     98static int zMkdir(const char* pccPath){
     99  return mkdir(pccPath,0777);
     100}
    98101/**
    99102 * The crossplatform open alias
  • trunk/zoo-project/zoo-kernel/service_json.c

    r967 r975  
    13181318            tmpPath->value,
    13191319            cIdentifier->value);
    1320     if(mkdir(tmp1,0777) != 0 && errno != EEXIST){
     1320    if(zMkdir(tmp1) != 0 && errno != EEXIST){
    13211321      fprintf(stderr,"Issue creating directory %s\n",tmp1);
    13221322      return NULL;
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