summaryrefslogtreecommitdiff
path: root/package/rpm/patches/patch-rpmio_rpmio_h.orig
blob: a2d2d8572ae5b4fdce09c34e355aa75998d75952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- rpm-4.7.0.orig/rpmio/rpmio.h	2009-03-03 07:51:52.000000000 +0100
+++ rpm-4.7.0/rpmio/rpmio.h	2009-06-25 19:32:01.343208721 +0200
@@ -25,15 +25,19 @@ extern "C" {
  * argument as a pointer rather than as an off_t. The snarl below defines
  * typedefs to isolate the lossage.
  */
+/*
 #if defined(__GLIBC__) && \
 	(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
 #define USE_COOKIE_SEEK_POINTER 1
 typedef _IO_off64_t 	_libio_off_t;
 typedef _libio_off_t *	_libio_pos_t;
 #else
+*/
 typedef off_t 		_libio_off_t;
 typedef off_t 		_libio_pos_t;
+/*
 #endif
+*/
 
 /** \ingroup rpmio
  */