Code Review
/
cicn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
01dc902
)
Close, open and write are note redevined in C++
55/18255/1
author
Angelo Mantellini
<
[email protected]
>
Wed, 13 Mar 2019 16:16:46 +0000
(17:16 +0100)
committer
Angelo Mantellini
<
[email protected]
>
Wed, 13 Mar 2019 16:16:46 +0000
(17:16 +0100)
Change-Id: Iaef43476705533de0a858f2b808382103a85a4bd
Signed-off-by: Angelo Mantellini <
[email protected]
>
libparc/parc/windows/parc_Utils.h
patch
|
blob
|
history
diff --git
a/libparc/parc/windows/parc_Utils.h
b/libparc/parc/windows/parc_Utils.h
index
975eae0
..
85cdc94
100644
(file)
--- 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
\r
#endif
\r
\r
+#ifndef __cplusplus
\r
+
\r
#ifndef close
\r
#define close _close
\r
#endif
\r
@@
-123,6
+125,8
@@
int dprintf(int fd, char *fmt, ...);
#define open _open
\r
#endif
\r
\r
+#endif
\r
+
\r
#ifndef unlink
\r
#define unlink _unlink
\r
#endif
\r