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