Permalink
Browse files

checking for enum_class_Proxy instead of PARROT_HAS_THREADS

In parrot 4.4.0 enum_class_Proxy isnt defined but PARROT_HAS_THREADS is. So enum_class_Proxy would be added to the condition.
  • Loading branch information...
1 parent 6d8b63d commit 68063397017b1cd8d5454bfe989ed6bbb485045b @FROGGS FROGGS committed Nov 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/pmc/nqplexpad.pmc
@@ -109,10 +109,10 @@ Return the LexInfo PMC, if any or a Null PMC.
Hash *hash;
GET_ATTR_lexinfo(INTERP, SELF, info);
if (info->vtable->base_type != enum_class_LexInfo
-#ifdef PARROT_HAS_THREADS
+#ifdef enum_class_Proxy
&& info->vtable->base_type != enum_class_Proxy
#endif
- ) {
+ ) {
PMC *name_map;
GETATTR_NQPLexInfo_name_to_register_map(INTERP, info, name_map);
hash = (Hash *)VTABLE_get_pointer(INTERP, name_map);

0 comments on commit 6806339

Please sign in to comment.