source: cpp/gdk/nonstd_io.h @ 50

Last change on this file since 50 was 5, checked in by sz, 16 years ago

added the GDK (Genotype Development Kit)

File size: 546 bytes
Line 
1// This file is a part of Framsticks GDK library.
2// Copyright (C) 2002-2006  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.frams.alife.pl/ for further information.
4
5// int access(const char *pathname, int mode);
6#ifdef _Windows
7 #include <dir.h>
8 #include <io.h> //include io.h przed dir.h powoduje ze w simul.h nie poznaje klasy SimWorld - szokujacy i niewyjasniony blad.
9 #define makeDirectory(name) mkdir(name)
10#else
11 #include <unistd.h>
12 #include <sys/stat.h>
13 #define makeDirectory(name) mkdir(name,0777)
14#endif
15
Note: See TracBrowser for help on using the repository browser.