typedef mode_t

This commit is contained in:
Mark Andrews
2012-07-20 16:37:16 +10:00
parent ef2c4aa34d
commit 9671f6f0d4
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <isc/lang.h>
#include <isc/stat.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS
+5
View File
@@ -22,6 +22,11 @@
#include <sys/stat.h>
/*
* Windows doesn't typedef this.
*/
typedef unsigned short mode_t
/* open() under unix allows setting of read/write permissions
* at the owner, group and other levels. These don't exist in NT
* We'll just map them all to the NT equivalent