blob: 4ef9702ff061959a2628d50662c1f54a410f4bdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ab,v 1.2 2007/04/15 21:46:41 wiz Exp $
--- git-compat-util.h.orig 2007-04-12 01:41:44.000000000 +0000
+++ git-compat-util.h
@@ -6,6 +6,8 @@
#ifndef FLEX_ARRAY
#if defined(__GNUC__) && (__GNUC__ < 3)
#define FLEX_ARRAY 0
+#elif defined(__SUNPRO_C)
+#define FLEX_ARRAY 1
#else
#define FLEX_ARRAY /* empty */
#endif
|