ref: b390a124292d8593c7aa339cc86ba39473a86c9f
parent: 97b2de58987d80d28b61ca9ec51e1c3952922b96
author: David Turner <[email protected]>
date: Sun Jul 9 20:13:39 EDT 2000
removed some stupid #defines in <freetype/config/ftconfig.h>
--- a/builds/unix/ftconfig.in
+++ b/builds/unix/ftconfig.in
@@ -51,28 +51,11 @@
/* */
/*************************************************************************/
-
-/* Define to empty if the keyword does not work. */
-#undef const
-
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
/* the number of bytes in an `int' type. */
#define FT_SIZEOF_INT 4
/* the number of bytes in a `long' type. */
#define FT_SIZEOF_LONG 4
-
-/* Define if you have the memcpy function. */
-#undef HAVE_MEMCPY
-
-/* Define if you have the <fcntl.h> header file. */
-#undef HAVE_FCNTL_H
-
-/* Define if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
/* Preferred alignment of data */
#define FT_ALIGNMENT 8
--- a/include/freetype/config/ftconfig.h
+++ b/include/freetype/config/ftconfig.h
@@ -81,14 +81,6 @@
#error "Unsupported number of bytes in `long' type!"
#endif
-/* Define if you have the memcpy function. */
-#define HAVE_MEMCPY 1
-
-/* Define if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 0
-
-/* Define if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 0
/* Preferred alignment of data */
--- a/include/freetype/internal/ftmemory.h
+++ b/include/freetype/internal/ftmemory.h
@@ -68,11 +68,7 @@
#define MEM_Set( dest, byte, count ) memset( dest, byte, count )
-#ifdef HAVE_MEMCPY
#define MEM_Copy( dest, source, count ) memcpy( dest, source, count )
-#else
-#define MEM_Copy( dest, source, count ) bcopy( source, dest, count )
-#endif
#define MEM_Move( dest, source, count ) memmove( dest, source, count )