develooper Front page | perl.perl5.porters | Postings from August 2001

[PATCH] doesn't compile, was perl@11710

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
August 17, 2001 14:19
Subject:
[PATCH] doesn't compile, was perl@11710
Message ID:
20010817232110.C7041@rafael
People have probably already noticed that, but anyway:
perl@11710 doesn't compile on linux, with default configure options.
Looks like a misplaced #ifdef (see the patch)

--- sharedsv.c.orig	Fri Aug 17 22:34:41 2001
+++ sharedsv.c	Fri Aug 17 22:39:48 2001
@@ -20,11 +20,11 @@
 #define PERL_IN_SHAREDSV_C
 #include "perl.h"
 
+#ifdef USE_ITHREADS
+
 PerlInterpreter* sharedsv_space;
 perl_mutex sharedsv_space_mutex;
 
-#ifdef USE_ITHREADS
-
 /*
   Shared SV
 
@@ -198,4 +198,4 @@
     SHAREDSvRELEASE(ssv);
 }
 
-#endif
+#endif /* USE_ITHREADS */

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About