streq implementation oddity?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CJNyfalt
    Swordsman
    • May 2007
    • 289

    streq implementation oddity?

    So what is going on with streq in z-util.h and z-util.c?
    First z-util.h defines a streq macro, then z-util.c undefs streq and have a streq function.
    Why?
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by CJNyfalt
    So what is going on with streq in z-util.h and z-util.c?
    First z-util.h defines a streq macro, then z-util.c undefs streq and have a streq function.
    Why?
    One assumes this is an accident. git blame tells me that those lines were last edited by takkaria in 2007 (except for a recent change to const).
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎