diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-03-08 17:36:48 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-03-08 17:36:48 +0000 |
commit | d26e56e2fd57da2dadddf760b2984956f7daa069 (patch) | |
tree | 279ce688dc97b4a261e8c24af106e26b33b60a25 /tikzit/src/gtk/mkdtemp.m | |
parent | 2ce4b8a878459ed8c4b9f3077b9c8f924c2a04e4 (diff) |
GTK: fix creating the user support dir
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@418 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/gtk/mkdtemp.m')
-rw-r--r-- | tikzit/src/gtk/mkdtemp.m | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/tikzit/src/gtk/mkdtemp.m b/tikzit/src/gtk/mkdtemp.m index 0866e54..f6b73aa 100644 --- a/tikzit/src/gtk/mkdtemp.m +++ b/tikzit/src/gtk/mkdtemp.m @@ -60,31 +60,7 @@ # endif #endif -#include <sys/stat.h> -#if STAT_MACROS_BROKEN -# undef S_ISDIR -#endif -#if !defined S_ISDIR && defined S_IFDIR -# define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) -#endif -#if !S_IRUSR && S_IREAD -# define S_IRUSR S_IREAD -#endif -#if !S_IRUSR -# define S_IRUSR 00400 -#endif -#if !S_IWUSR && S_IWRITE -# define S_IWUSR S_IWRITE -#endif -#if !S_IWUSR -# define S_IWUSR 00200 -#endif -#if !S_IXUSR && S_IEXEC -# define S_IXUSR S_IEXEC -#endif -#if !S_IXUSR -# define S_IXUSR 00100 -#endif +#include "stat.h" #ifdef __MINGW32__ /* mingw's mkdir() function has 1 argument, but we pass 2 arguments. |