fix thunderbird bustage from
bug 388663
--- a/gfx/thebes/public/gfxTypes.h
+++ b/gfx/thebes/public/gfxTypes.h
@@ -41,17 +41,19 @@
#include "prtypes.h"
/**
* Currently needs to be 'double' for Cairo compatibility. Could
* become 'float', perhaps, in some configurations.
*/
typedef double gfxFloat;
-#if defined(IMPL_THEBES)
+#if defined(MOZ_STATIC_BUILD)
+# define THEBES_API
+#elif defined(IMPL_THEBES)
# define THEBES_API NS_EXPORT
#else
# define THEBES_API NS_IMPORT
#endif
/**
* Define refcounting for Thebes. For now use the stuff from nsISupportsImpl
* even though it forces the functions to be virtual...