blob: 10a6ba03ae0bccf8abc0ad386d6444295a7bcff2 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From e218d5a0a545ebb9623d62da5cfca478f9c90fce Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 8 Jun 2017 23:11:31 -0700
Brad Bishop316dfdd2018-06-25 12:45:53 -04004Subject: [PATCH] Undefine open64 and fopen64
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6Since the signatures do not match with libc
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -04009
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010---
11 esddsp.c | 2 ++
12 1 file changed, 2 insertions(+)
13
14diff --git a/esddsp.c b/esddsp.c
15index d3c6ea9..17b5949 100644
16--- a/esddsp.c
17+++ b/esddsp.c
18@@ -290,6 +290,7 @@ open (const char *pathname, int flags, ...)
19 return open_wrapper(func, pathname, flags, mode);
20 }
21
22+#undef open64
23 int
24 open64 (const char *pathname, int flags, ...)
25 {
26@@ -374,6 +375,7 @@ fopen (const char *path, const char *mode)
27 return fopen_wrapper(func, path, mode);
28 }
29
30+#undef fopen64
31 FILE *
32 fopen64 (const char *path, const char *mode)
33 {