String.st
changeset 8919 707a9ff7f9b2
parent 8917 05ac69ca4e94
child 8920 19397e1e685e
--- a/String.st	Fri Jul 08 22:54:45 2005 +0200
+++ b/String.st	Fri Jul 08 23:13:39 2005 +0200
@@ -1370,7 +1370,7 @@
 	RETURN ( (memcmp(cp1, cp2, l1) == 0) ? true : false );
 #else
 	addrDelta = cp2 - cp1;
-# ifdef UNROLL_LOOPS
+# ifdef __UNROLL_LOOPS__
 	while (l1 >= (sizeof(unsigned INT)*4)) {
 	    if (((unsigned INT *)cp1)[0] != ((unsigned INT *)(cp1+addrDelta))[0]) {
 		RETURN (false);
@@ -1387,7 +1387,7 @@
 	    l1 -= (sizeof(unsigned INT) * 4);
 	    cp1 += (sizeof(unsigned INT) * 4);
 	}
-# endif /* UNROLL_LOOPS */
+# endif /* __UNROLL_LOOPS__ */
 	while (l1 >= sizeof(unsigned INT)) {
 	    if (*((unsigned INT *)cp1) != *((unsigned INT *)(cp1+addrDelta))) {
 		RETURN (false);
@@ -1632,7 +1632,7 @@
 	}
 
 	addrDelta = cp2 - cp1;
-# ifdef UNROLL_LOOPS
+# ifdef __UNROLL_LOOPS__
 	while (l1 >= (sizeof(unsigned INT)*4)) {
 	    if (((unsigned INT *)cp1)[0] != ((unsigned INT *)(cp1+addrDelta))[0]) {
 		RETURN (true);
@@ -1649,7 +1649,7 @@
 	    l1 -= (sizeof(unsigned INT) * 4);
 	    cp1 += (sizeof(unsigned INT) * 4);
 	}
-# endif /* UNROLL_LOOPS */
+# endif /* __UNROLL_LOOPS__ */
 	while (l1 >= sizeof(unsigned INT)) {
 	    if (*((unsigned INT *)cp1) != *((unsigned INT *)(cp1+addrDelta))) {
 		RETURN (true);
@@ -3331,7 +3331,7 @@
 	    src2 += sizeof(UINT64);
 	}
 #else
-# ifdef UNROLL_LOOPS
+# ifdef __UNROLL_LOOPS__
 	while (len2 > (OHDR_SIZE+sizeof(INT)*4)) {
 	    if ( ((unsigned INT *)src1)[0] != ((unsigned INT *)src2)[0]) {
 		RETURN (false);
@@ -3349,7 +3349,7 @@
 	    src1 += sizeof(INT)*4;
 	    src2 += sizeof(INT)*4;
 	}
-# endif /* UNROLL_LOOPS */
+# endif /* __UNROLL_LOOPS__ */
 #endif /* UINT64 */
 
 	while (len2 > (OHDR_SIZE+sizeof(INT))) {
@@ -3410,5 +3410,5 @@
 !String class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/String.st,v 1.218 2005-07-08 20:43:37 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/String.st,v 1.219 2005-07-08 21:13:39 cg Exp $'
 ! !