[py-svn] r11402 - py/dist/py/c-extension/greenlet
arigo at codespeak.net
arigo at codespeak.net
Sun Apr 24 13:16:16 CEST 2005
Author: arigo
Date: Sun Apr 24 13:16:16 2005
New Revision: 11402
Modified:
py/dist/py/c-extension/greenlet/greenlet.c
Log:
Check that slp_platformselect.h actually detected the platform.
Modified: py/dist/py/c-extension/greenlet/greenlet.c
==============================================================================
--- py/dist/py/c-extension/greenlet/greenlet.c (original)
+++ py/dist/py/c-extension/greenlet/greenlet.c Sun Apr 24 13:16:16 2005
@@ -249,6 +249,11 @@
#define SLP_EVAL
#include "slp_platformselect.h"
+#ifndef STACK_MAGIC
+#error "greenlet needs to be ported to this platform,\
+ or teached how to detect your compiler properly."
+#endif
+
static int g_switchstack(void)
{
More information about the pytest-commit
mailing list