Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv

This commit is contained in:
Boris Zbarsky 2012-11-09 07:59:41 -08:00
parent 721e804d9a
commit 081200f74b
2 changed files with 10 additions and 1 deletions

View File

@ -16,6 +16,10 @@
#include "nsIScriptGlobalObject.h"
#include "xpcpublic.h"
#ifdef XP_WIN
#undef GetClassName
#endif
namespace mozilla {
class DOMSVGLengthList;
class DOMSVGNumberList;

View File

@ -7,13 +7,18 @@
#include "nsISupports.idl"
#include "nsIXPConnect.idl"
%{C++
#ifdef XP_WIN
#undef GetClassName
#endif
%}
/**
* Note: This is not really an XPCOM interface. For example, callers must
* guarantee that they set the *_retval of the various methods that return a
* boolean to PR_TRUE before making the call. Implementations may skip writing
* to *_retval unless they want to return PR_FALSE.
*/
[uuid(c4788e02-3239-490a-8aeb-60fad08303fd)]
interface nsIXPCScriptable : nsISupports
{