removed some stupid #defines in <freetype/config/ftconfig.h>
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
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 )