Commit b390a124292d8593c7aa339cc86ba39473a86c9f

David Turner 2000-07-10T00:13:39

removed some stupid #defines in <freetype/config/ftconfig.h>

diff --git a/builds/unix/ftconfig.in b/builds/unix/ftconfig.in
index 1a91e5b..b78b4ee 100644
--- a/builds/unix/ftconfig.in
+++ b/builds/unix/ftconfig.in
@@ -51,29 +51,12 @@
   /*                                                                       */
   /*************************************************************************/
 
-
-/* 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
 
diff --git a/include/freetype/config/ftconfig.h b/include/freetype/config/ftconfig.h
index f6fed4a..d5a404c 100644
--- 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 */
diff --git a/include/freetype/internal/ftmemory.h b/include/freetype/internal/ftmemory.h
index a9826dc..db10cb4 100644
--- 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 )