• src/conio/ciolib.h

    From Deuc¨@VERT to Git commit to main/sbbs/master on Saturday, March 13, 2021 11:51:21
    https://gitlab.synchro.net/main/sbbs/-/commit/e679fa13d4658d06b818fa5b
    Modified Files:
    src/conio/ciolib.h
    Log Message:
    include curs_fix from ciolib.h to fix openSUSE

    Apparently, the ncurses in openSUSE Leap-15.2 has the following:
    Since we have a struct member named ESCDELAY, we can't actually set
    it at all when this macro is defined.

    The three possibilities to deal with this are:
    1) Rename the ESCDELAY member.
    Likely the best option long-term, but I don't want to find everything
    and update it at this time.
    2) Avoid using the ESCDELAY member #ifdef ESCDELAY
    Which makes it not work in the exact set of circumstances it makes
    sense in.
    3) #include curs_fix.h from ciolib.h
    This actually renames the ESCDELAY member to _nc_ESCDELAY, but you
    won't be able to actually notice this.

    ---
    ş Synchronet ş Vertrauen ş Home of Synchronet ş [vert/cvs/bbs].synchro.net