Two fixes to GC build problems.
svn: r583
This commit is contained in:
parent
2cf78f136a
commit
d889daf489
|
@ -1817,17 +1817,6 @@ GC_API void GC_dump GC_PROTO((void));
|
||||||
# define GC_MARKED_FOR_FINALIZATION(dest)
|
# define GC_MARKED_FOR_FINALIZATION(dest)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Make arguments appear live to compiler */
|
|
||||||
# ifdef __WATCOMC__
|
|
||||||
void GC_noop(void*, ...);
|
|
||||||
# else
|
|
||||||
# ifdef __DMC__
|
|
||||||
GC_API void GC_noop(...);
|
|
||||||
# else
|
|
||||||
GC_API void GC_noop();
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
|
|
||||||
void GC_noop1 GC_PROTO((word));
|
void GC_noop1 GC_PROTO((word));
|
||||||
|
|
||||||
/* Logging and diagnostic output: */
|
/* Logging and diagnostic output: */
|
||||||
|
|
|
@ -25,11 +25,7 @@
|
||||||
|
|
||||||
/* We put this here to minimize the risk of inlining. */
|
/* We put this here to minimize the risk of inlining. */
|
||||||
/*VARARGS*/
|
/*VARARGS*/
|
||||||
#ifdef __WATCOMC__
|
void GC_noop(void *p, ...) {}
|
||||||
void GC_noop(void *p, ...) {}
|
|
||||||
#else
|
|
||||||
void GC_noop() {}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Single argument version, robust against whole program analysis. */
|
/* Single argument version, robust against whole program analysis. */
|
||||||
void GC_noop1(x)
|
void GC_noop1(x)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user