~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to debian/patches/any/submitted-glob_h-ifdef.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2011-08-30  Aurelien Jarno  <aurelien@aurel32.net>
 
2
 
 
3
        * posix/glob.h: Use #if defined to not receive warnings about
 
4
          undefined symbols.
 
5
 
 
6
diff --git a/posix/glob.h b/posix/glob.h
 
7
index 89a1886..632ea91 100644
 
8
--- a/posix/glob.h
 
9
+++ b/posix/glob.h
 
10
@@ -143,7 +143,7 @@ typedef struct
 
11
   } glob64_t;
 
12
 #endif
 
13
 
 
14
-#if __USE_FILE_OFFSET64 && __GNUC__ < 2
 
15
+#if defined __USE_FILE_OFFSET64 && __GNUC__ < 2
 
16
 # define glob glob64
 
17
 # define globfree globfree64
 
18
 #endif