[svn:ponie] rev 333 - trunk/perl

[email protected] 22 Jul 2005 11:19:37 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
Author: nicholas
Date: Fri Jul 22 04:19:36 2005
New Revision: 333

Modified:
   trunk/perl/perl.h
Log:
Using empty structs with gcc is too hacky, so always have a member.


Modified: trunk/perl/perl.h
==============================================================================
--- trunk/perl/perl.h	(original)
+++ trunk/perl/perl.h	Fri Jul 22 04:19:36 2005
@@ -1990,9 +1990,7 @@ typedef struct interpreter PerlInterpret
 #   define STRUCT_SV sv
 #endif
 struct Ponie_Dummy_PMC {
-#if !defined(__GNUC__)
-    char something; /* Things with size zero are not allowed.  */
-#endif
+    struct something *somewhere; /* Things with size zero are not allowed.  */
 };
 typedef struct Ponie_Dummy_PMC SV;
 typedef struct Ponie_Dummy_PMC AV;