[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/config.in
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] Changes to emacs/src/config.in |
Date: |
Sat, 24 May 2003 15:31:42 -0400 |
Index: emacs/src/config.in
diff -c emacs/src/config.in:1.185 emacs/src/config.in:1.186
*** emacs/src/config.in:1.185 Wed May 21 08:59:28 2003
--- emacs/src/config.in Sat May 24 15:31:42 2003
***************
*** 124,129 ****
--- 124,132 ----
/* Define to 1 if dynamic ptys are supported. */
#undef HAVE_DEV_PTMX
+ /* Define to 1 if you have the `difftime' function. */
+ #undef HAVE_DIFFTIME
+
/* Define to 1 if you have the `dup2' function. */
#undef HAVE_DUP2
***************
*** 1010,1026 ****
# endif
#endif
/* avoid deprecated functions */
! #ifdef HAVE_MEMCPY
! # define bcopy(a,b,s) memcpy (b,a,s)
! #endif
! #ifdef HAVE_MEMSET
! # define bzero(a,s) memset (a,0,s)
! #endif
! #ifdef HAVE_MEMCMP
! # define BCMP memcmp
! # define bcmp memcmp
! #endif
#endif /* EMACS_CONFIG_H */
--- 1013,1032 ----
# endif
#endif
+ /* On Mac OS X, these macros are already defined in precompiled headers. */
+ #ifndef MAC_OSX
/* avoid deprecated functions */
! # ifdef HAVE_MEMCPY
! # define bcopy(a,b,s) memcpy (b,a,s)
! # endif
! # ifdef HAVE_MEMSET
! # define bzero(a,s) memset (a,0,s)
! # endif
! # ifdef HAVE_MEMCMP
! # define BCMP memcmp
! # define bcmp memcmp
! # endif
! #endif /* MAC_OSX */
#endif /* EMACS_CONFIG_H */