[m-rev.] diff: fix ssdb namespace problem
Zoltan Somogyi
zs at csse.unimelb.edu.au
Thu Aug 5 13:03:20 AEST 2010
ssdb/RESERVED_MACRO_NAMES:
Fix a bug that has caused bootchecks to fail, probably since May,
when the #include of mercury_signal.h was added to ssdb.m. The fix is
adding two non-Mercury-defined symbols that the generated C files
are allowed to define, so that we now pass the namespace cleanliness
test in this directory.
Zoltan.
cvs diff: Diffing .
Index: RESERVED_MACRO_NAMES
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/ssdb/RESERVED_MACRO_NAMES,v
retrieving revision 1.1
diff -u -b -r1.1 RESERVED_MACRO_NAMES
--- RESERVED_MACRO_NAMES 3 Oct 2007 12:11:58 -0000 1.1
+++ RESERVED_MACRO_NAMES 5 Aug 2010 02:51:55 -0000
@@ -63,7 +63,11 @@
__OPTIMIZE__
__STRICT_ANSI__
#-----------------------------------------------------------------------------#
-# These are defined in when threads are enabled.
+# These are defined when threads are enabled.
_REENTRANT
_THREAD_SAFE
#-----------------------------------------------------------------------------#
+# These are defined in mercury_signal.h, which ssdb.m #includes.
+__KERNEL__
+sigcontext_struct
+#-----------------------------------------------------------------------------#
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list