-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't define __strpbrk_sse42 in static library
- Loading branch information
H.J. Lu
authored and
Ulrich Drepper
committed
Mar 24, 2010
1 parent
8863605
commit 7d9335e
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#define USE_AS_STRPBRK | ||
#define STRCSPN_SSE2 __strpbrk_sse2 | ||
#define STRCSPN_SSE42 __strpbrk_sse42 | ||
#include "strcspn-c.c" | ||
/* Don't define multiple versions for strpbrk in static library since we | ||
need strpbrk before the initialization happened. */ | ||
#ifdef SHARED | ||
# define USE_AS_STRPBRK | ||
# define STRCSPN_SSE2 __strpbrk_sse2 | ||
# define STRCSPN_SSE42 __strpbrk_sse42 | ||
# include "strcspn-c.c" | ||
#endif |