diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-12-31 01:47:57 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-12-31 01:47:57 +0000 |
commit | e253656cdb267db060878fe813c11feb965ee411 (patch) | |
tree | abbb85a11aa293830408a2d81466adcdc8cccad4 | |
parent | 77c36675d5461992bdcf6b0ad4f4c91df735b12c (diff) | |
download | netpbm-mirror-e253656cdb267db060878fe813c11feb965ee411.tar.gz netpbm-mirror-e253656cdb267db060878fe813c11feb965ee411.tar.xz netpbm-mirror-e253656cdb267db060878fe813c11feb965ee411.zip |
Add pm_mkdir()
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@515 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | pm_config.in.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pm_config.in.h b/pm_config.in.h index 25551815..bb3bf381 100644 --- a/pm_config.in.h +++ b/pm_config.in.h @@ -273,3 +273,10 @@ typedef long int pm_filepos; typedef int qsort_comparison_fn(const void *, const void *); /* A compare function to pass to <stdlib.h>'s qsort() */ + +#if defined(WIN32) && !defined(__CYGWIN__) + #define pm_mkdir(dir, perm) _mkdir(dir) +#else + #define pm_mkdir(dir, perm) mkdir(dir, perm) +#endif + |