comparison configure.in @ 51184:ce4fe46f9b13

(AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp.
author Andreas Schwab <schwab@suse.de>
date Sat, 24 May 2003 19:28:34 +0000
parents 45b44457e685
children 51712cc110e2
comparison
equal deleted inserted replaced
51183:c9db5a2dc58b 51184:ce4fe46f9b13
2852 # ifndef GC_LISP_OBJECT_ALIGNMENT 2852 # ifndef GC_LISP_OBJECT_ALIGNMENT
2853 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object)) 2853 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
2854 # endif 2854 # endif
2855 #endif 2855 #endif
2856 2856
2857 /* On Mac OS X, these macros are already defined in precompiled headers. */
2858 #ifndef MAC_OSX
2857 /* avoid deprecated functions */ 2859 /* avoid deprecated functions */
2858 #ifdef HAVE_MEMCPY 2860 # ifdef HAVE_MEMCPY
2859 # define bcopy(a,b,s) memcpy (b,a,s) 2861 # define bcopy(a,b,s) memcpy (b,a,s)
2860 #endif 2862 # endif
2861 #ifdef HAVE_MEMSET 2863 # ifdef HAVE_MEMSET
2862 # define bzero(a,s) memset (a,0,s) 2864 # define bzero(a,s) memset (a,0,s)
2863 #endif 2865 # endif
2864 #ifdef HAVE_MEMCMP 2866 # ifdef HAVE_MEMCMP
2865 # define BCMP memcmp 2867 # define BCMP memcmp
2866 # define bcmp memcmp 2868 # define bcmp memcmp
2867 #endif 2869 # endif
2870 #endif /* MAC_OSX */
2868 2871
2869 #endif /* EMACS_CONFIG_H */ 2872 #endif /* EMACS_CONFIG_H */
2870 2873
2871 /* 2874 /*
2872 Local Variables: 2875 Local Variables: