export thebes symbols from libxul. bug 388663. r=vlad
authorpavlov@pavlov.net
Wed, 18 Jul 2007 17:13:14 -0700
changeset 3649 48436c1e4467c3a3bbbe550bd3f7354336e07a05
parent 3648 229f9f53d03a83f6a7942879bac0ede2aa029b41
child 3650 9d8b7aef7d6f435089a25729745c26eab49dbb7b
push idunknown
push userunknown
push dateunknown
reviewersvlad
bugs388663
milestone1.9a7pre
export thebes symbols from libxul. bug 388663. r=vlad
gfx/thebes/public/gfxTypes.h
--- a/gfx/thebes/public/gfxTypes.h
+++ b/gfx/thebes/public/gfxTypes.h
@@ -41,19 +41,17 @@
 #include "prtypes.h"
 
 /**
  * Currently needs to be 'double' for Cairo compatibility. Could
  * become 'float', perhaps, in some configurations.
  */
 typedef double gfxFloat;
 
-#if defined(MOZ_ENABLE_LIBXUL) || defined(MOZ_STATIC_BUILD)
-# define THEBES_API
-#elif defined(IMPL_THEBES)
+#if 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...