Author: spouliot
Date: 2007-01-05 13:09:11 -0500 (Fri, 05 Jan 2007)
New Revision: 70545

Modified:
   trunk/libgdiplus/src/general.h
Log:
fix mac build

Modified: trunk/libgdiplus/src/general.h
===================================================================
--- trunk/libgdiplus/src/general.h      2007-01-05 17:54:05 UTC (rev 70544)
+++ trunk/libgdiplus/src/general.h      2007-01-05 18:09:11 UTC (rev 70545)
@@ -43,7 +43,7 @@
 #define gdip_convgr_unity(g,f)         (gdip_unit_conversion (UnitCairoPoint, 
g->page_unit, g->dpi_y, g->type, f))
 
 /* avoid floating point division/multiplications when pre-multiplying the 
alpha channel with R, G and B values */
-const byte pre_multiplied_table[256][256];
+extern const byte pre_multiplied_table[256][256];
 
 /* cairo has a (signed) 15(1)/16(2)bits pixel positioning, while GDI+ use 
(signed) 23 bits (infinity).
  * Using larger values confuse the bits used for subpixel positioning.

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to