Skip to content

Commit 6806339

Browse files
committed
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.
1 parent 6d8b63d commit 6806339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pmc/nqplexpad.pmc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ Return the LexInfo PMC, if any or a Null PMC.
109109
Hash *hash;
110110
GET_ATTR_lexinfo(INTERP, SELF, info);
111111
if (info->vtable->base_type != enum_class_LexInfo
112-
#ifdef PARROT_HAS_THREADS
112+
#ifdef enum_class_Proxy
113113
&& info->vtable->base_type != enum_class_Proxy
114114
#endif
115-
) {
115+
) {
116116
PMC *name_map;
117117
GETATTR_NQPLexInfo_name_to_register_map(INTERP, info, name_map);
118118
hash = (Hash *)VTABLE_get_pointer(INTERP, name_map);

0 commit comments

Comments
 (0)