Annotation of pkgsrc/lang/python313/patches/patch-Include_pymacro.h, revision 1.1

1.1     ! adam        1: $NetBSD$
        !             2: 
        !             3: Fix build on NetBSD: error: initializer element is not constant.
        !             4: 
        !             5: --- Include/pymacro.h.orig     2024-10-09 19:39:18.701274249 +0000
        !             6: +++ Include/pymacro.h
        !             7: @@ -47,7 +47,7 @@
        !             8:  #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
        !             9:  
        !            10:  #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L \
        !            11: -     && !defined(__cplusplus))
        !            12: +     && !defined(__cplusplus) && !defined(__NetBSD__))
        !            13:  #  define Py_BUILD_ASSERT_EXPR(cond) \
        !            14:      ((void)sizeof(struct { int dummy; _Static_assert(cond, #cond); }), \
        !            15:       0)

CVSweb <webmaster@jp.NetBSD.org>