Follow-up Comment #4, patch #1659 (project freeciv):

> Static arrays cannot use a function. Maybe there is a simple way to add a
SPECENUM_LAST value?

Would something like the following work? I don't know if this is OK for
bitwise definitions. Or should it only be defined if !bitwise?


#define SPECNUM_LAST (SPECNUM_MAX + 1)


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1659>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to