[Commit] fontconfig/src fccfg.c,1.36,1.37
    Tor Lillqvist 
    commit at keithp.com
       
    Fri Jun 13 17:04:37 PDT 2003
    
    
  
Committed by: tml
Update of /local/src/CVS/fontconfig/src
In directory home.keithp.com:/tmp/cvs-serv11059/src
Modified Files:
	fccfg.c 
Log Message:
2003-06-13  Tor Lillqvist  <tml at iki.fi>
	* src/fccfg.c: Check also for DLL_EXPORT as indication of being
	built as a DLL on Win32.
Index: fccfg.c
===================================================================
RCS file: /local/src/CVS/fontconfig/src/fccfg.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- fccfg.c	28 May 2003 01:34:38 -0000	1.36
+++ fccfg.c	13 Jun 2003 23:04:35 -0000	1.37
@@ -30,6 +30,10 @@
 #undef STRICT
 #endif
 
+#if defined (_WIN32) && !defined (R_OK)
+#define R_OK 4
+#endif
+
 FcConfig    *_fcConfig;
 
 FcConfig *
@@ -1371,7 +1375,7 @@
     return FcConfigSubstituteWithPat (config, p, 0, kind);
 }
 
-#if defined (_WIN32) && defined (PIC)
+#if defined (_WIN32) && (defined (PIC) || defined (DLL_EXPORT))
 
 static FcChar8 fontconfig_path[1000] = "";
 
    
    
More information about the Commit
mailing list