Explorar o código

check to see if __USE_FILE_OFFSET64 is defined rather than if it evaluates to true

Mike Frysinger %!s(int64=17) %!d(string=hai) anos
pai
achega
55aaeb5746
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/glob.h

+ 1 - 1
include/glob.h

@@ -156,7 +156,7 @@ typedef struct
   } glob64_t;
 #endif
 
-#if __USE_FILE_OFFSET64 && __GNUC__ < 2
+#if defined(__USE_FILE_OFFSET64) && __GNUC__ < 2
 # define glob glob64
 # define globfree globfree64
 #endif