ref: 6d5d719d9eb29ea0bfaacc5bef989832fdfe4ccb
parent: 90d9964ec9c6537a69dedbc29f0a6d277707dbcc
author: Werner Lemberg <[email protected]>
date: Tue Dec 12 01:36:55 EST 2000
* include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant. * builds/unix/detect.mk: Remove unused USE_CFLAGS variable. * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-12-11 Werner Lemberg <[email protected]>
+
+ * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE,
+ FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##'
+ operator to be really ANSI C compliant.
+
+2000-12-09 Werner Lemberg <[email protected]>
+
+ * builds/unix/detect.mk: Remove unused USE_CFLAGS variable.
+
2000-12-08 Werner Lemberg <[email protected]>
* */*.h: Changed body inclusion macro names to start and end with
@@ -5,6 +15,8 @@
issues.
* src/winfonts/winfnt.c: Updated to new header inclusion scheme.
+
+ * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
2000-12-07 David Turner <[email protected]>
--- a/builds/unix/detect.mk
+++ b/builds/unix/detect.mk
@@ -63,7 +63,7 @@
setup: std_setup
unix-def.mk: $(TOP)/builds/unix/unix-def.in
- cd builds/unix; $(USE_CFLAGS) ./configure $(CFG)
+ cd builds/unix; ./configure $(CFG)
endif # test Unix
endif # test PLATFORM
--- a/include/freetype/config/ft2build.h
+++ b/include/freetype/config/ft2build.h
@@ -70,7 +70,7 @@
/* installed on the particular system. */
/* */
#ifndef FT2_CONFIG_ROOT
-#define FT2_CONFIG_ROOT FT2_ROOT/config
+#define FT2_CONFIG_ROOT FT2_ROOT ## / ## config
#endif
@@ -80,7 +80,7 @@
/* 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 ) < ## FT2_ROOT ## / ## x ## >
/*************************************************************************/
@@ -89,7 +89,7 @@
/* 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 ) < ## FT2_CONFIG_ROOT ## / ## x ## >
/*************************************************************************/
@@ -98,7 +98,7 @@
/* 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 ) < ## FT2_ROOT ## / ## internal ## / ## x ## >
/*************************************************************************/
@@ -118,7 +118,7 @@
#ifdef FT_FLAT_COMPILATION
#define FT_SOURCE_FILE( d, x ) #x
#else
-#define FT_SOURCE_FILE( d, x ) <d/x>
+#define FT_SOURCE_FILE( d, x ) < ## d ## / ## x ## >
#endif
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -191,9 +191,6 @@
#define CUR_Ppem() \
Cur_PPEM( EXEC_ARG )
-#define CALC_Length() \
- Calc_Length( EXEC_ARG )
-
#define INS_SxVTL( a, b, c, d ) \
Ins_SxVTL( EXEC_ARG_ a, b, c, d )