COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility
This commit is contained in:
parent
a50c36d138
commit
2fa63ca015
13 changed files with 88 additions and 70 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue