source: cpp/gdk/nonstd_io.h @ 66

Last change on this file since 66 was 66, checked in by Maciej Komosinski, 13 years ago

set 'eol-style' to 'native'

  • Property svn:eol-style set to native
File size: 470 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.