projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c95a83
)
Add optional lpSecurityAttributes parameter to CreateDirectory call to make compilati...
author
Tobias Markus
<tobbi.bugs@googlemail.com>
Wed, 11 Feb 2015 15:13:14 +0000
(16:13 +0100)
committer
Tobias Markus
<tobbi.bugs@googlemail.com>
Wed, 11 Feb 2015 15:13:14 +0000
(16:13 +0100)
src/util/file_system.cpp
patch
|
blob
|
history
diff --git
a/src/util/file_system.cpp
b/src/util/file_system.cpp
index
5b2ee00
..
6082f9d
100644
(file)
--- a/
src/util/file_system.cpp
+++ b/
src/util/file_system.cpp
@@
-64,7
+64,7
@@
bool is_directory(const std::string& path)
void mkdir(const std::string& directory)
{
#ifdef _WIN32
- if (!CreateDirectory(directory.c_str()))
+ if (!CreateDirectory(directory.c_str()
, NULL
))
{
throw std::runtime_error("failed to create directory: " + directory);
}