diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-03-13 17:16:46 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-03-13 17:16:46 +0100 |
commit | 23d161b154b061cfa33ccbb8551ff48711aedc85 (patch) | |
tree | ebba6a29c2f73970a8cf6407460cc830bb733105 | |
parent | 01dc9022fe0f2b8c879d7f430c2517ad86da1e4f (diff) |
Close, open and write are note redevined in C++
Change-Id: Iaef43476705533de0a858f2b808382103a85a4bd
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
-rw-r--r-- | libparc/parc/windows/parc_Utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libparc/parc/windows/parc_Utils.h b/libparc/parc/windows/parc_Utils.h index 975eae0f..85cdc94e 100644 --- a/libparc/parc/windows/parc_Utils.h +++ b/libparc/parc/windows/parc_Utils.h @@ -111,6 +111,8 @@ int dprintf(int fd, char *fmt, ...); #define access _access
#endif
+#ifndef __cplusplus
+
#ifndef close
#define close _close
#endif
@@ -123,6 +125,8 @@ int dprintf(int fd, char *fmt, ...); #define open _open
#endif
+#endif
+
#ifndef unlink
#define unlink _unlink
#endif
|