• src/xpdev/genwrap.h

    From deuce@VERT to CVS commit on Tue Apr 29 01:47:09 2014
    src/xpdev genwrap.h 1.100 1.101
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv12289

    Modified Files:
    genwrap.h
    Log Message:
    As it happens, alloca() is not standard. Swipe a bit of stdlib.h from
    FreeBSD to fix builds for OSs without alloca() (ie: OpenBSD) that define __GNUC__



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Tue Apr 29 01:51:26 2014
    src/xpdev genwrap.h 1.101 1.102
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv12336

    Modified Files:
    genwrap.h
    Log Message:
    Clang defines GCC and friends... test for it first when describing the compiler.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Tue Apr 29 02:16:31 2014
    src/xpdev genwrap.h 1.102 1.103
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv12603

    Modified Files:
    genwrap.h
    Log Message:
    Ensure alloca() is defined for Win32 by genwrap.h as well.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Mon Jun 23 04:04:41 2014
    src/xpdev genwrap.h 1.103 1.104
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv11551

    Modified Files:
    genwrap.h
    Log Message:
    Use _tzname on mingw32 too.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.
  • From deuce@VERT to CVS commit on Mon Jan 11 04:23:37 2016
    src/xpdev genwrap.h 1.105 1.106
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv23273

    Modified Files:
    genwrap.h
    Log Message:
    Pretty sure we can go ahead and use nanosleep() now.



    ---
    þ Synchronet þ Vertrauen þ Home of Sy
  • From rswindell@VERT to CVS commit on Thu Feb 15 21:25:18 2018
    src/xpdev genwrap.h 1.110 1.111
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv27146

    Modified Files:
    genwrap.h
    Log Message:
    Do the tzname -> _tzname mapping for ALL Win32 builds:
    We need this for MSVC2013 and MSVC2017 builds.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Apr 10 17:46:08 2019
    src/xpdev genwrap.h 1.114 1.115
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/home/rswindell/sbbs/src/xpdev

    Modified Files:
    genwrap.h
    Log Message:
    Catch (warn about) safe_snprintf() usage problems when building with GCC.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 21 21:14:57 2020
    src/xpdev genwrap.h 1.116 1.117
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv19519

    Modified Files:
    genwrap.h
    Log Message:
    For SLEEP() implementations which use nanosleep(), resume the sleep if/when nanosleep was interrupted by a signal and the SLEEP parameter is > 1. Previously, any signal wuold abort SLEEP() prematurely. A SLEEP(1) (yield) behaves the same as before since 1 is a special value where a short-sleep duration is fine/expected on occasion.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Aug 2 18:32:54 2020
    src/xpdev genwrap.h 1.118 1.119
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv11929

    Modified Files:
    genwrap.h
    Log Message:
    Add some more preprocessor checks (for _M_ARM and __aarch64__) in the definition of ARCHITECTURE_DESC in builds targetting ARM processors.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Aug 2 19:40:49 2020
    src/xpdev genwrap.h 1.119 1.120
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv17770

    Modified Files:
    genwrap.h
    Log Message:
    Use armvX insted of armX (e.g. armv7 means something different than arm7).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Aug 2 20:29:39 2020
    src/xpdev genwrap.h 1.120 1.121
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv22066

    Modified Files:
    genwrap.h
    Log Message:
    GCC defines __ARM_ARCH and not _M_ARCH, so support that. And ARMv8 while
    we're at it.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Jan 17 18:30:46 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/4e2567adfa6b7427eda3876c
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Change STRERROR() to be just an alias for strerror() on all platforms

    Its a terrible idea to modify the return value of strerror() on any platform. strerror() can (and often does) return immutable string constants - don't try to modify that string even if it does end in trailing white-space (find another solution to that). This change only affects non-*nix builds since we were already doing the right thing for *nix.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Oct 19 11:22:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/851627df99f48d8eaad33d3a
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Don't use the deprecated pthread_yield() function

    Per https://man7.org/linux/man-pages/man3/pthread_yield.3.html
    This call is nonstandard, but present on several other systems.
    Use the standardized sched_yield(2) instead.

    Should fix #299.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Feb 11 23:20:35 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/75756ade0f759be31287d247
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Fix Windows build.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Feb 11 23:27:24 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/e95e145f23484498c084cb34
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Restore the msclock_t typedef. Things were using it.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Jan 26 10:59:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1bc19dac945bbdfbf9f01edb
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Eliminate extra semi-colon
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Feb 7 11:03:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d621f28cee75e0493b5cff3b
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Reverse logic on GCC/Win32 detection for alloca/malloc.h

    Mingw32 is _WIN32 and GCC, and we need some way to get the free()
    prototype. :D
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Feb 24 02:31:50 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c64d90d236b34e6684b683a3
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Borland C needs the strlcpy definition too

    The definition of vsnprintf as _vsnprintf didn't seem to hurt the build
    (as well, for Borland)
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 17 00:25:21 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/57bdb729e1708ac6e732915a
    Modified Files:
    src/xpdev/genwrap.h
    Log Message:
    Add a few more PLATFORM_DESC values
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net