Closed
Bug 50543
Opened 25 years ago
Closed 25 years ago
#ifdef checks for nonexistant symbol when using gcc
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: frb, Assigned: shaver)
Details
Linux/Sparc fails to build due to a bad #ifdef on line 26
gcc doesn't define sparc, only __sparc__, if sunpro and other sun compilers
define sparc and not __sparc__, please combine the test to check for either
symbol
-- patch --
--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc_solaris.cpp.orig Mon Aug
28 09:54:43 2000
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc_solaris.cpp Mon Aug
28 09:54:25 2000
@@ -24,7 +24,7 @@
#include "xptcprivate.h"
-#ifdef sparc
+#ifdef __sparc__
extern "C" nsresult
PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, uint32* args)
Comment 1•25 years ago
|
||
frb@wiw.org, are you still seeing this with current attempts to build?
| Reporter | ||
Comment 2•25 years ago
|
||
not since shaver added a fix
I guess he forgot to mark the bug after fixing the tree
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•