Last change
on this file since 64 was
64,
checked in by Maciej Komosinski, 14 years ago
|
a lot of minor fixes
|
File size:
481 bytes
|
Line | |
---|
1 | // int access(const char *pathname, int mode);
|
---|
2 | #ifdef _Windows
|
---|
3 | #include <dir.h>
|
---|
4 | #include <io.h> //include io.h przed dir.h powoduje ze w simul.h nie poznaje klasy SimWorld - szokujacy i niewyjasniony blad. co wiecej w projekcie GUI go nie ma a w CLI jest - moze wplyw tych globalnych definicji typu NOVCL, NO_STRICT itp?
|
---|
5 | #define makeDirectory(name) mkdir(name)
|
---|
6 | #else
|
---|
7 | #include <unistd.h>
|
---|
8 | #include <sys/stat.h>
|
---|
9 | #define makeDirectory(name) mkdir(name,0777)
|
---|
10 | #endif
|
---|
11 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.