Revision 1.16 and later of ext/yp/yp.c fails to build under Solaris 8
with WorkShop Compilers 5.0 98/12/15 C 5.0. The compilation dies with
the following errors:
"yp.c", line 218: non-constant initializer: op "U"
"yp.c", line 218: non-constant initializer: op "U"
"yp.c", line 218: non-constant
My knowledge of C portability is weak in these cases, but the
following patch appears to fix things here. Can some of you more
knowledgeable folks give this a quick look and let me know if it's
okay for me to commit this?
+1
- Sascha Experience