• src/xpdev/genwrap.h

    From deuce@VERT to CVS commit on Tuesday, April 29, 2014 01:47:09
    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 Tuesday, April 29, 2014 01:51:26
    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 Tuesday, April 29, 2014 02:16:31
    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 Monday, June 23, 2014 04:04:41
    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.synchro.net
  • From deuce@VERT to CVS commit on Monday, January 11, 2016 04:23:37
    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 Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thursday, February 15, 2018 21:25:18
    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 Saturday, March 21, 2020 21:14:57
    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 Sunday, August 02, 2020 18:32:54
    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 Sunday, August 02, 2020 19:40:49
    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 Sunday, August 02, 2020 20:29:39
    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 Sunday, January 17, 2021 18:30:46
    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 Tuesday, October 19, 2021 11:22:52
    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 Friday, February 11, 2022 23:20:35
    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 Friday, February 11, 2022 23:27:24
    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 Friday, January 26, 2024 10:59:42
    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 Wednesday, February 07, 2024 11:03:42
    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 Saturday, February 24, 2024 02:31:50
    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 Sunday, March 17, 2024 00:25:21
    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