Skip to content

Commit c2b9cbd

Browse files
committed
perl.h: remove UNION_ANY_DEFINITION support
This macro, if defined, is supposed to provide an alternative definition of the `union any` type. It was added in commit 0f4eea8 (June 1998) to let win32.h override `union any` with its own definition. That override was removed from win32.h in commit c06b867 (July 1999). For the past 25 years, this feature has been sitting there undocumented and unused.
1 parent afff10b commit c2b9cbd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

perl.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4398,9 +4398,6 @@ intrinsic function, see its documents for more details.
43984398
void init_os_extras(void);
43994399
#endif
44004400

4401-
#ifdef UNION_ANY_DEFINITION
4402-
UNION_ANY_DEFINITION;
4403-
#else
44044401
union any {
44054402
void* any_ptr;
44064403
SV* any_sv;
@@ -4423,7 +4420,6 @@ union any {
44234420
void (*any_dptr) (void*);
44244421
void (*any_dxptr) (pTHX_ void*);
44254422
};
4426-
#endif
44274423

44284424
typedef I32 (*filter_t) (pTHX_ int, SV *, int);
44294425

0 commit comments

Comments
 (0)