COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility

This commit is contained in:
Max Horn 2011-05-03 14:30:25 +02:00
parent a50c36d138
commit 2fa63ca015
13 changed files with 88 additions and 70 deletions

View file

@ -22,9 +22,7 @@
* $Id$
*/
// Avoid clashes with unistd.h
#define FORBIDDEN_SYMBOL_EXCEPTION_chdir
#define FORBIDDEN_SYMBOL_EXCEPTION_unlink
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#include "dc.h"
#include "backends/fs/abstract-fs.h"