Bug 653985 - Pango 1.29.x make GTK3-demo.exe crashed in Windows
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 12 Jul 2011 02:24:49 +0000 (22:24 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 12 Jul 2011 02:24:49 +0000 (22:24 -0400)
Similar to d9e254f which changed the rest of the modules, moved the
PANGO_MODULE_PREFIX define from basic-win32.c to the VS9 project file to
avoid breaking autotools build.

Fixes basic-win32 module loading when pango is built with autotools +
MinGW.

build/win32/vs9/pangowin32.vcproj
modules/basic/basic-win32.c

index ce34ae7..b2a05b1 100644 (file)
                        Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="..\..\..\modules\basic\basic-win32.c" />
+                       <File RelativePath="..\..\..\modules\basic\basic-win32.c" >
+                               <FileConfiguration Name="Debug_FC|Win32"><Tool Name="VCCLCompilerTool"  PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Debug|Win32"><Tool Name="VCCLCompilerTool"     PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Release_FC|Win32"><Tool Name="VCCLCompilerTool" PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Release|Win32"><Tool Name="VCCLCompilerTool" PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Debug_FC|x64"><Tool Name="VCCLCompilerTool" PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Debug|x64"><Tool Name="VCCLCompilerTool" PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Release_FC|x64"><Tool Name="VCCLCompilerTool" PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                               <FileConfiguration Name="Release|x64"><Tool Name="VCCLCompilerTool" PreprocessorDefinitions="PANGO_MODULE_PREFIX=_pango_basic_win32" /></FileConfiguration>
+                       </File>
                        <File RelativePath="..\..\..\pango\module-defs-win32.c" />
                        <File RelativePath="..\..\..\pango\pangowin32-fontcache.c" />
                        <File RelativePath="..\..\..\pango\pangowin32-fontmap.c" />
index 7a27d50..810d2a2 100644 (file)
 
 extern HFONT _pango_win32_font_get_hfont (PangoFont *font);
 
-#ifndef PANGO_MODULE_PREFIX
-#define PANGO_MODULE_PREFIX _pango_basic_win32
-#endif
-
 #include "pango-engine.h"
 #include "pango-utils.h"