/* ----------------------------------------------------------------------------
- * $Id: InfoTables.h,v 1.29 2003/05/14 09:14:02 simonmar Exp $
+ * $Id: InfoTables.h,v 1.30 2003/11/12 17:27:00 sof Exp $
*
* (c) The GHC Team, 1998-2002
*
Ticky info
-------------------------------------------------------------------------- */
+#if defined(SUPPORTS_EMPTY_STRUCTS)
typedef struct {
/* empty */
} StgTickyInfo;
+#endif
/* -----------------------------------------------------------------------------
Debugging info
#else /* !DEBUG_CLOSURE */
-typedef struct {
+# if defined(SUPPORTS_EMPTY_STRUCTS)
+typedef struct StgDebugInfo {
/* empty */
} StgDebugInfo;
+# endif
#endif /* DEBUG_CLOSURE */
StgProfInfo prof;
#endif
#ifdef TICKY
- StgTickyInfo ticky;
+ MAYBE_EMPTY_STRUCT(StgTickyInfo,ticky)
#endif
#ifdef DEBUG_CLOSURE
- StgDebugInfo debug;
+ MAYBE_EMPTY_STRUCT(StgDebugInfo,debug)
#endif
StgClosureInfo layout; // closure layout info (one word)