diff -ru /tmp/tremor/framing.c tremor/framing.c
--- /tmp/tremor/framing.c	2006-10-29 20:14:35.999280736 +0200
+++ tremor/framing.c	2006-09-30 13:48:48.000000000 +0300
@@ -747,7 +747,13 @@
   while(oy->fifo_tail){
     /* invariant: fifo_cursor points to a position in fifo_tail */
     unsigned char *now=oy->fifo_tail->buffer->data+oy->fifo_tail->begin;
-    unsigned char *next=memchr(now, 'O', oy->fifo_tail->length);
+    unsigned char *next;
+#if defined(UNDER_CE) && defined(__GNUC__)
+    for(next=now; *next != 'O' && next-now<oy->fifo_tail->length; next++);
+    if(*next!='O')next=NULL;
+#else
+    next=memchr(now, 'O', oy->fifo_tail->length);
+#endif
       
     if(next){
       /* possible capture in this segment */
diff -ru /tmp/tremor/os_types.h tremor/os_types.h
--- /tmp/tremor/os_types.h	2006-10-29 20:14:41.406458720 +0200
+++ tremor/os_types.h	2006-09-20 19:42:31.000000000 +0300
@@ -32,7 +32,7 @@
 #define _ogg_realloc realloc
 #define _ogg_free    free
 
-#ifdef _WIN32 
+#ifdef _WIN32JUBANKAOFF
 
 #  ifndef __GNUC__
    /* MSVC/Borland */