From 2fa63ca01586c4e5fda8eb12dca444d47a2375f1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 3 May 2011 14:30:25 +0200 Subject: COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility --- backends/platform/dc/dc-fs.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backends/platform/dc') diff --git a/backends/platform/dc/dc-fs.cpp b/backends/platform/dc/dc-fs.cpp index e07dfbfd9b..a024b5d70d 100644 --- a/backends/platform/dc/dc-fs.cpp +++ b/backends/platform/dc/dc-fs.cpp @@ -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" -- cgit v1.2.3