shithub: freetype+ttf2subf

Download patch

ref: 9fe338bfb45c06ed5818e47707f98114340211d8
parent: d96cd73f19bf6abf5c1adc5c34d9202b2a2587c1
author: Werner Lemberg <[email protected]>
date: Tue Dec 12 11:06:49 EST 2000

next try

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/config/ft2build.h
+++ b/include/freetype/config/ft2build.h
@@ -80,7 +80,8 @@
   /* Its parameter is the file pathname, relative to the public root of a  */
   /* given header file.                                                    */
   /*                                                                       */
-#define FT2_PUBLIC_FILE( x )  < ## FT2_ROOT ## / ## x ## >
+#define FT2_PUBLIC_FILE_( x, y )  < ## x ## / ## y ## >
+#define FT2_PUBLIC_FILE( x )      FT2_PUBLIC_FILE_(FT2_ROOT,x)
 
 
   /*************************************************************************/
@@ -89,7 +90,8 @@
   /* Its parameter is the file pathname, relative to the configuration     */
   /* root directory of a given header file.                                */
   /*                                                                       */
-#define FT2_CONFIG_FILE( x )  < ## FT2_CONFIG_ROOT ## / ## x ## >
+#define FT2_CONFIG_FILE_( x, y )  < ## x ## / ## y ## >
+#define FT2_CONFIG_FILE( x )      FT2_CONFIG_FILE_(FT2_CONFIG_ROOT,x)
 
 
   /*************************************************************************/
@@ -98,7 +100,8 @@
   /* file.  Its parameter is the file pathname, relative to the            */
   /* configuration root directory of a given header file.                  */
   /*                                                                       */
-#define FT2_INTERNAL_FILE( x )  < ## FT2_ROOT ## / ## internal ## / ## x ## >
+#define FT2_INTERNAL_FILE_( x, y )  < ## x ## / ## internal ## / ## y ## >
+#define FT2_INTERNAL_FILE( x )      FT2_INTERNAL_FILE_(FT2_ROOT,x)
 
 
   /*************************************************************************/
@@ -205,8 +208,7 @@
 
 
   /* now include internal headers definitions from <freetype/internal/...> */
-#define FT_INTERNAL_H  FT2_INTERNAL_FILE(internal.h)
-#include FT_INTERNAL_H
+#include FT2_INTERNAL_FILE(internal.h)
 
 
 #endif /* __FT2_BUILD_H__ */