Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
FROGGS committed Nov 22, 2012
1 parent 6d8b63d commit 6806339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pmc/nqplexpad.pmc
Expand Up @@ -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);
Expand Down

0 comments on commit 6806339

Please sign in to comment.