4944
|
1 |
Patch to allow the Studio compilers to compile. Although the existing code
|
|
2 |
catches cases where you're using an older gcc that doesn't support the
|
|
3 |
feature, it omits the case where gcc is not the compiler and the feature
|
|
4 |
is not available. This is suitable for upstream.
|
|
5 |
|
|
6 |
--- git-2.5.3/git-compat-util.h Thu Sep 17 13:26:50 2015
|
|
7 |
+++ git-2.5.3/git-compat-util.h Thu Sep 24 14:32:55 2015
|
|
8 |
@@ -32,6 +32,8 @@
|
|
9 |
# else
|
|
10 |
# define FLEX_ARRAY 0 /* older GNU extension */
|
|
11 |
# endif
|
|
12 |
+#else
|
|
13 |
+# define BARF_UNLESS_AN_ARRAY(arr) 0
|
|
14 |
#endif
|
|
15 |
|
|
16 |
/*
|