summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/stuff.xs.pm')
-rw-r--r--perl-install/c/stuff.xs.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index bcc14f24a..7a3bc6c2d 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -1,3 +1,5 @@
+use Config;
+
print '
#include "EXTERN.h"
#include "perl.h"
@@ -106,9 +108,12 @@ Xtest(display)
RETVAL
';
-$ENV{C_DRAKX} and print '
+$ENV{C_DRAKX} && $Config{archname} =~ /i.86/ and print '
char *
pcmcia_probe()
+';
+
+$ENV{C_DRAKX} and print '
void
setMouseLive(display, type, emulate3buttons)