Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 331bb53

Browse files
committed
change '#if defined(PORTNAME_sparc)' to '#if !defined(HAVE_MEMMOVE)'
1 parent 925ea01 commit 331bb53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/include/regex/utils.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ typedef unsigned char uch;
4949
#define NDEBUG /* no assertions please */
5050
#endif
5151
#endif
52-
#include <assert.h>
5352

5453
/* for old systems with bcopy() but no memmove() */
55-
#if defined(PORTNAME_sparc)
54+
#if !defined(HAVE_MEMMOVE)
5655
#define memmove(d, s, c) bcopy(s, d, c)
5756
#endif

0 commit comments

Comments
 (0)