Browse Source

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

Mike Frysinger 17 years ago
parent
commit
55aaeb5746
1 changed files with 1 additions and 1 deletions
  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