freebsd-ports/games/xkoules/files/patch-xlib::inlstring.h
Kirill Ponomarev b301286759 - Fix build on -current
- Use DOCSDIR

PR:		58521
Submitted by:	Ports Fury
2003-10-25 15:13:35 +00:00

63 lines
1.6 KiB
C

--- xlib/inlstring.h.orig Thu Mar 5 03:59:19 1998
+++ xlib/inlstring.h Sat Oct 25 20:52:47 2003
@@ -238,12 +238,12 @@
static INLINE void *
__memcpy_aligndest (void *dest, const void *src, int n)
{
- __asm__ __volatile__ ("
- cmpl $3, %%ecx
- ja 1f
- call * __memcpy_jumptable (, %%ecx, 4)
- jmp 2f
- 1:call __memcpyasm_regargs
+ __asm__ __volatile__ ("\
+ cmpl $3, %%ecx \
+ ja 1f \
+ call * __memcpy_jumptable (, %%ecx, 4) \
+ jmp 2f \
+ 1:call __memcpyasm_regargs \
"
:
:"b" (dest), "d" (src), "c" (n)
@@ -255,13 +255,13 @@
static INLINE void *
__memcpy_destaligned (void *dest, const void *src, int n)
{
- __asm__ __volatile__ ("
- cmpl $32, %%ecx
- ja 1f
- call * __memcpy_jumptable (, %%ecx, 4)
- jmp 2f
- 1:call __memcpyasm_regargs_aligned
- 2:
+ __asm__ __volatile__ ("\
+ cmpl $32, %%ecx \
+ ja 1f \
+ call * __memcpy_jumptable (, %%ecx, 4) \
+ jmp 2f \
+ 1:call __memcpyasm_regargs_aligned \
+ 2: \
"
:
:"b" (dest), "d" (src), "c" (n)
@@ -273,13 +273,13 @@
static INLINE void *
__memcpy_balanced (void *dest, const void *src, int n)
{
- __asm__ __volatile__ ("
- cmpl $19, %%ecx
- ja 1f
- call * __memcpy_jumptable (, %%ecx, 4)
- jmp 2f
- 1:call __memcpyasm_regargs
- 2:
+ __asm__ __volatile__ ("\
+ cmpl $19, %%ecx \
+ ja 1f \
+ call * __memcpy_jumptable (, %%ecx, 4) \
+ jmp 2f \
+ 1:call __memcpyasm_regargs \
+ 2: \
"
:
:"b" ((long) dest), "d" ((long) src), "c" ((long) n)