12 # error "This include is for Windows only!"
17 #define WIN32_LEAN_AND_MEAN
38 #if !defined(_USE_MATH_DEFINES)
39 # define _USE_MATH_DEFINES
42 #define MAXPATHLEN MAX_PATH
45 # define S_ISREG(x) (((x)&_S_IFREG) == _S_IFREG)
48 # define S_ISDIR(x) (((x)&_S_IFDIR) == _S_IFDIR)
52 #if !defined(_MSC_VER) || _MSC_VER < 1900
53 # define snprintf _snprintf
70 # define HAVE_SSIZE_T 1
84 typedef struct __dirstream
DIR;
void BLI_windows_get_default_root_dir(char root_dir[4])
int BLI_windows_get_executable_dir(char *str)
bool BLI_windows_register_blend_extension(bool background)
const char * dirname(char *path)
struct dirent * readdir(DIR *dp)
DIR * opendir(const char *path)