[MLton-commit] r5513

Matthew Fluet fluet at mlton.org
Wed Apr 11 13:43:47 PDT 2007


Add packed attribute
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/gc/weak.h

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gc/weak.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gc/weak.h	2007-04-11 20:43:11 UTC (rev 5512)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gc/weak.h	2007-04-11 20:43:46 UTC (rev 5513)
@@ -35,7 +35,7 @@
 typedef struct GC_weak {
   struct GC_weak *link;
   objptr objptr;
-} *GC_weak;
+} __attribute__ ((packed)) *GC_weak;
 
 COMPILE_TIME_ASSERT(GC_weak__packed,
                     sizeof(struct GC_weak) ==




More information about the MLton-commit mailing list