]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Avoid multiple #DEFINEs with the same name
authorKyrre Sjobak <kyrre.ness.sjoebaek@cern.ch>
Tue, 24 Jan 2017 15:08:04 +0000 (16:08 +0100)
committerKyrre Sjobak <kyrre.ness.sjoebaek@cern.ch>
Tue, 24 Jan 2017 15:08:04 +0000 (16:08 +0100)
libarchive/archive_windows.h

index 8cf1c56d89d1358a18573a92a97060e8fc9a034b..e77cd08fc3b4062922336e1160241b9239ee8297 100644 (file)
 #define        S_IWUSR      _S_IWUSR
 #define        S_IRUSR      _S_IRUSR
 #endif
+#ifndef S_IRWXG
 #define        S_IRWXG        _S_IRWXG
 #define        S_IXGRP        _S_IXGRP
 #define        S_IWGRP        _S_IWGRP
+#endif
 #ifndef S_IRGRP
 #define        S_IRGRP        _S_IRGRP
 #endif
+#ifndef S_IRWXO
 #define        S_IRWXO        _S_IRWXO
 #define        S_IXOTH        _S_IXOTH
 #define        S_IWOTH        _S_IWOTH
 #define        S_IROTH        _S_IROTH
+#endif
 
 #endif