28 # error "This include is for Windows only!"
33 #define WIN32_LEAN_AND_MEAN
54 #if !defined(_USE_MATH_DEFINES)
55 # define _USE_MATH_DEFINES
58 #define MAXPATHLEN MAX_PATH
61 # define S_ISREG(x) (((x)&_S_IFREG) == _S_IFREG)
64 # define S_ISDIR(x) (((x)&_S_IFDIR) == _S_IFDIR)
68 #if !defined(_MSC_VER) || _MSC_VER < 1900
69 # define snprintf _snprintf
86 # define HAVE_SSIZE_T 1
100 typedef struct __dirstream
DIR;
void BLI_windows_get_default_root_dir(char *root_dir)
int BLI_windows_get_executable_dir(char *str)
void BLI_windows_register_blend_extension(const bool background)
const char * dirname(char *path)
struct dirent * readdir(DIR *dp)
DIR * opendir(const char *path)