Salome HOME
projects
/
tools
/
libbatch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged from BR_AR
[tools/libbatch.git]
/
src
/
Core
/
Batch_Defines.hxx
diff --git
a/src/Core/Batch_Defines.hxx
b/src/Core/Batch_Defines.hxx
index ab2a23716a7d82dee9cd6bf48297555b3f73f929..587e7d78759652b6bef5c9404a93bf1cc2c1556b 100644
(file)
--- a/
src/Core/Batch_Defines.hxx
+++ b/
src/Core/Batch_Defines.hxx
@@
-36,4
+36,10
@@
# define BATCH_EXPORT
#endif
+#ifdef WIN32
+#define BATCH_CHMOD(name, mode) _chmod(name, mode)
+#else
+#define BATCH_CHMOD(name, mode) chmod(name, mode)
+#endif
+
#endif