From b390a124292d8593c7aa339cc86ba39473a86c9f Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 10 Jul 2000 00:13:39 +0000 Subject: [PATCH] removed some stupid #defines in --- builds/unix/ftconfig.in | 17 ----------------- include/freetype/config/ftconfig.h | 8 -------- include/freetype/internal/ftmemory.h | 4 ---- 3 files changed, 29 deletions(-) diff --git a/builds/unix/ftconfig.in b/builds/unix/ftconfig.in index 1a91e5b9b..b78b4eee2 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 header file. */ -#undef HAVE_FCNTL_H - -/* Define if you have the 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 f6fed4a08..d5a404cae 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 header file. */ -#define HAVE_FCNTL_H 0 - -/* Define if you have the 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 a9826dcd3..db10cb4c4 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 )