forked from analogdevicesinc/msdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch for building make on Ubuntu-22.04
- Loading branch information
1 parent
fc7633b
commit 41bcb5e
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- glob-old.c 2023-07-15 18:06:47.276205928 -0500 | ||
+++ glob.c 2023-07-15 18:08:24.256204829 -0500 | ||
@@ -207,7 +207,7 @@ | ||
#endif /* __GNU_LIBRARY__ */ | ||
|
||
|
||
-#if !defined __alloca && !defined __GNU_LIBRARY__ | ||
+#if !defined __alloca && defined __GNU_LIBRARY__ | ||
|
||
# ifdef __GNUC__ | ||
# undef alloca | ||
@@ -230,7 +230,7 @@ | ||
|
||
#endif | ||
|
||
-#ifndef __GNU_LIBRARY__ | ||
+#ifdef __GNU_LIBRARY__ | ||
# define __stat stat | ||
# ifdef STAT_MACROS_BROKEN | ||
# undef S_ISDIR |