fix thunderbird bustage from bug 388663
authorted.mielczarek@gmail.com
Thu, 19 Jul 2007 08:21:13 -0700
changeset 3678 85de01fd06bb3be77d86180d91a05de39accb430
parent 3677 719ca5928595a1672ed0b783aecc902b12c9f05d
child 3679 8462f281a3305a2e8512f1ab359015953a759571
push idunknown
push userunknown
push dateunknown
bugs388663
milestone1.9a7pre
fix thunderbird bustage from bug 388663
gfx/thebes/public/gfxTypes.h
--- 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...