28 #ifndef GNASH_FILE_UTILITIES_H
29 #define GNASH_FILE_UTILITIES_H
33 #if !defined(_MSC_VER)
35 # include <sys/stat.h>
36 # include <sys/types.h>
57 #if !defined(_WIN32) && !defined(_MSC_VER) && !defined(__amigaos4__)
58 return mkdir(dirname.c_str(), S_IRUSR | S_IWUSR | S_IXUSR);
59 #elif defined(__amigaos4__)
63 ret = mkdir(dirname.c_str(), S_IRUSR | S_IWUSR | S_IXUSR);
64 if (errno == EINVAL || errno == ENOTDIR)
68 return mkdir(dirname.c_str());