Skip to content

Commit cfbff33

Browse files
authored
Merge pull request #447 from alarixnia/sparc
Fix compilation on NetBSD/sparc64
2 parents e00d0a8 + 69bed96 commit cfbff33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/greenlet/slp_platformselect.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ extern "C" {
3131
#include "platform/switch_ppc_unix.h" /* gcc on NetBSD/powerpc */
3232
#elif defined(__GNUC__) && defined(sparc)
3333
# include "platform/switch_sparc_sun_gcc.h" /* SunOS sparc with gcc */
34+
#elif defined(__GNUC__) && defined(__sparc__)
35+
# include "platform/switch_sparc_sun_gcc.h" /* NetBSD sparc with gcc */
3436
#elif defined(__SUNPRO_C) && defined(sparc) && defined(sun)
3537
# include "platform/switch_sparc_sun_gcc.h" /* SunStudio on amd64 */
3638
#elif defined(__SUNPRO_C) && defined(__amd64__) && defined(sun)

0 commit comments

Comments
 (0)