Parcourir la source

third_party: libzip: resolve macro redefined issue

Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
Rebecca Chang Swee Fun il y a 1 an
Parent
commit
9a886f7987
1 fichiers modifiés avec 0 ajouts et 8 suppressions
  1. 0 8
      third_party/libzip/src/lib/compat.h

+ 0 - 8
third_party/libzip/src/lib/compat.h

@@ -184,12 +184,4 @@ typedef char bool;
 #endif
 #endif
 
-#ifndef S_ISDIR
-#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
-#endif
-
-#ifndef S_ISREG
-#define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG)
-#endif
-
 #endif /* compat.h */