Skip to content

Commit 28c4223

Browse files
committed
GH-5 - Provide both G_ARRAY and G_LIST
1 parent 00a3a04 commit 28c4223

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libperl-sys/wrapper.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
#include <INTERN.h> /* from the Perl distribution */
22
#define PERL_IN_GLOBALS_C
33
#include <perl.h> /* from the Perl distribution */
4+
5+
#if defined(G_ARRAY) && !defined(G_LIST)
6+
# define G_LIST G_ARRAY
7+
#elif !defined(G_ARRAY)
8+
# define G_ARRAY G_LIST
9+
#endif

0 commit comments

Comments
 (0)