mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
*** empty log message ***
This commit is contained in:
parent
fb650026ae
commit
014c21630f
@ -22,6 +22,8 @@
|
|||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
/* begin Win32-specific code */
|
/* begin Win32-specific code */
|
||||||
|
|
||||||
|
#include <direct.h>
|
||||||
|
|
||||||
static string
|
static string
|
||||||
front_to_back_slash(const string &str) {
|
front_to_back_slash(const string &str) {
|
||||||
string result = str;
|
string result = str;
|
||||||
@ -825,7 +827,11 @@ make_dir() const {
|
|||||||
string component = _filename.substr(0, slash);
|
string component = _filename.substr(0, slash);
|
||||||
if (!(component == ".") ||
|
if (!(component == ".") ||
|
||||||
!(component == "..")) {
|
!(component == "..")) {
|
||||||
|
#ifndef WIN32_VC
|
||||||
mkdir(component.c_str(), 0xffff);
|
mkdir(component.c_str(), 0xffff);
|
||||||
|
#else
|
||||||
|
mkdir(component.c_str());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p = slash;
|
p = slash;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user