* 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
diff --git a/ChangeLog b/ChangeLog
index f428464..7b3077e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-12-11 Werner Lemberg <wl@gnu.org>
+
+ * 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 <wl@gnu.org>
+
+ * builds/unix/detect.mk: Remove unused USE_CFLAGS variable.
+
2000-12-08 Werner Lemberg <wl@gnu.org>
* */*.h: Changed body inclusion macro names to start and end with
@@ -6,6 +16,8 @@
* src/winfonts/winfnt.c: Updated to new header inclusion scheme.
+ * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
+
2000-12-07 David Turner <david.turner@freetype.org>
* */*.[ch]: Changed source files to adhere to the new
diff --git a/builds/unix/detect.mk b/builds/unix/detect.mk
index cbdefd5..5c85bb4 100644
--- a/builds/unix/detect.mk
+++ b/builds/unix/detect.mk
@@ -63,7 +63,7 @@ ifeq ($(PLATFORM),ansi)
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
diff --git a/include/freetype/config/ft2build.h b/include/freetype/config/ft2build.h
index 946e7e3..dd9b268 100644
--- 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
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index 22fe603..f60b55c 100644
--- 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 )