Enlightenment CVS committal

Author  : mej
Project : eterm
Module  : libast

Dir     : eterm/libast/src


Modified Files:
        array.c avl_tree.c conf.c debug.c dlinked_list.c file.c 
        linked_list.c mem.c msgs.c obj.c options.c regexp.c snprintf.c 
        socket.c str.c strings.c tok.c url.c 


Log Message:
Wed Nov 26 17:18:20 2003                        Michael Jennings (mej)

Added sysdefs.h so that client programs who don't employ some/all of
the AST_* m4 macros can still get all the #define's they need for the
auto* stuff.

===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/array.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- array.c     19 Nov 2003 04:21:15 -0000      1.9
+++ array.c     26 Nov 2003 22:19:43 -0000      1.10
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: array.c,v 1.9 2003/11/19 04:21:15 mej Exp $";
+static const char cvs_ident[] = "$Id: array.c,v 1.10 2003/11/26 22:19:43 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/avl_tree.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- avl_tree.c  19 Nov 2003 04:21:15 -0000      1.3
+++ avl_tree.c  26 Nov 2003 22:19:44 -0000      1.4
@@ -23,7 +23,7 @@
 
 static const char cvs_ident[] = "$Id: linked_list.c,v 1.10 2002/08/14 01:45:15 mej 
Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/conf.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- conf.c      10 Nov 2003 19:29:19 -0000      1.11
+++ conf.c      26 Nov 2003 22:19:44 -0000      1.12
@@ -31,9 +31,9 @@
  * @author Michael Jennings <[EMAIL PROTECTED]>
  */
 
-static const char cvs_ident[] = "$Id: conf.c,v 1.11 2003/11/10 19:29:19 mej Exp $";
+static const char cvs_ident[] = "$Id: conf.c,v 1.12 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
@@ -595,7 +595,7 @@
               }
               break;
           case '`':
-#ifdef ALLOW_BACKQUOTE_EXEC
+#if ALLOW_BACKQUOTE_EXEC
               D_CONF(("Backquotes detected.  Evaluating expression.\n"));
               if (!in_single) {
                   Command = (char *) MALLOC(CONFIG_BUFF);
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/debug.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- debug.c     1 Jul 2003 19:51:21 -0000       1.9
+++ debug.c     26 Nov 2003 22:19:44 -0000      1.10
@@ -28,13 +28,13 @@
  * This file contains all non-cpp-based debugging functionality.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.9 $
- * $Date: 2003/07/01 19:51:21 $
+ * $Revision: 1.10 $
+ * $Date: 2003/11/26 22:19:44 $
  */
 
-static const char cvs_ident[] = "$Id: debug.c,v 1.9 2003/07/01 19:51:21 mej Exp $";
+static const char cvs_ident[] = "$Id: debug.c,v 1.10 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/dlinked_list.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- dlinked_list.c      19 Nov 2003 22:39:57 -0000      1.11
+++ dlinked_list.c      26 Nov 2003 22:19:44 -0000      1.12
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: dlinked_list.c,v 1.11 2003/11/19 22:39:57 mej 
Exp $";
+static const char cvs_ident[] = "$Id: dlinked_list.c,v 1.12 2003/11/26 22:19:44 mej 
Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/file.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- file.c      10 Apr 2003 21:54:39 -0000      1.4
+++ file.c      26 Nov 2003 22:19:44 -0000      1.5
@@ -28,13 +28,13 @@
  * This file contains file-related functions.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.4 $
- * $Date: 2003/04/10 21:54:39 $
+ * $Revision: 1.5 $
+ * $Date: 2003/11/26 22:19:44 $
  */
 
-static const char cvs_ident[] = "$Id: file.c,v 1.4 2003/04/10 21:54:39 mej Exp $";
+static const char cvs_ident[] = "$Id: file.c,v 1.5 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/linked_list.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- linked_list.c       19 Nov 2003 22:39:57 -0000      1.14
+++ linked_list.c       26 Nov 2003 22:19:44 -0000      1.15
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: linked_list.c,v 1.14 2003/11/19 22:39:57 mej 
Exp $";
+static const char cvs_ident[] = "$Id: linked_list.c,v 1.15 2003/11/26 22:19:44 mej 
Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/mem.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- mem.c       23 Nov 2003 20:58:20 -0000      1.12
+++ mem.c       26 Nov 2003 22:19:44 -0000      1.13
@@ -29,13 +29,13 @@
  * This file contains the memory management subsystem.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.12 $
- * $Date: 2003/11/23 20:58:20 $
+ * $Revision: 1.13 $
+ * $Date: 2003/11/26 22:19:44 $
  */
 
-static const char cvs_ident[] = "$Id: mem.c,v 1.12 2003/11/23 20:58:20 mej Exp $";
+static const char cvs_ident[] = "$Id: mem.c,v 1.13 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
@@ -48,7 +48,7 @@
 static void memrec_dump_pointers(memrec_t *);
 static void memrec_dump_resources(memrec_t *);
 
-#ifdef MALLOC_CALL_DEBUG
+#if MALLOC_CALL_DEBUG
 /[EMAIL PROTECTED]/
 /**
  * @name Memory Management Call Tracking
@@ -412,7 +412,7 @@
 {
     void *temp;
 
-#ifdef MALLOC_CALL_DEBUG
+#if MALLOC_CALL_DEBUG
     ++malloc_count;
     if (!(malloc_count % MALLOC_MOD)) {
         fprintf(LIBAST_DEBUG_FD, "Calls to malloc(): %d\n", malloc_count);
@@ -454,7 +454,7 @@
 {
     void *temp;
 
-#ifdef MALLOC_CALL_DEBUG
+#if MALLOC_CALL_DEBUG
     ++realloc_count;
     if (!(realloc_count % REALLOC_MOD)) {
         D_MEM(("Calls to realloc(): %d\n", realloc_count));
@@ -499,7 +499,7 @@
 {
     void *temp;
 
-#ifdef MALLOC_CALL_DEBUG
+#if MALLOC_CALL_DEBUG
     ++calloc_count;
     if (!(calloc_count % CALLOC_MOD)) {
         fprintf(LIBAST_DEBUG_FD, "Calls to calloc(): %d\n", calloc_count);
@@ -534,7 +534,7 @@
 void
 libast_free(const char *var, const char *filename, unsigned long line, void *ptr)
 {
-#ifdef MALLOC_CALL_DEBUG
+#if MALLOC_CALL_DEBUG
     ++free_count;
     if (!(free_count % FREE_MOD)) {
         fprintf(LIBAST_DEBUG_FD, "Calls to free(): %d\n", free_count);
@@ -599,7 +599,7 @@
     memrec_dump_pointers(&malloc_rec);
 }
 
-#ifdef LIBAST_X11_SUPPORT
+#if LIBAST_X11_SUPPORT
 
 /******************** PIXMAP ALLOCATION INTERFACE ********************/
 
@@ -671,7 +671,7 @@
     }
 }
 
-# ifdef LIBAST_IMLIB2_SUPPORT
+# if LIBAST_IMLIB2_SUPPORT
 /**
  * Register a pixmap for tracking.
  *
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/msgs.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- msgs.c      10 Apr 2003 21:54:39 -0000      1.5
+++ msgs.c      26 Nov 2003 22:19:44 -0000      1.6
@@ -29,13 +29,13 @@
  * error messages to the end user.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.5 $
- * $Date: 2003/04/10 21:54:39 $
+ * $Revision: 1.6 $
+ * $Date: 2003/11/26 22:19:44 $
  */
 
-static const char cvs_ident[] = "$Id: msgs.c,v 1.5 2003/04/10 21:54:39 mej Exp $";
+static const char cvs_ident[] = "$Id: msgs.c,v 1.6 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/obj.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- obj.c       23 Nov 2003 20:58:20 -0000      1.19
+++ obj.c       26 Nov 2003 22:19:44 -0000      1.20
@@ -28,13 +28,13 @@
  * This file contains the basic object class.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.19 $
- * $Date: 2003/11/23 20:58:20 $
+ * $Revision: 1.20 $
+ * $Date: 2003/11/26 22:19:44 $
  */
 
-static const char cvs_ident[] = "$Id: obj.c,v 1.19 2003/11/23 20:58:20 mej Exp $";
+static const char cvs_ident[] = "$Id: obj.c,v 1.20 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/options.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- options.c   23 Nov 2003 20:58:20 -0000      1.9
+++ options.c   26 Nov 2003 22:19:44 -0000      1.10
@@ -29,13 +29,13 @@
  * option parser.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.9 $
- * $Date: 2003/11/23 20:58:20 $
+ * $Revision: 1.10 $
+ * $Date: 2003/11/26 22:19:44 $
  */
 
-static const char cvs_ident[] = "$Id: options.c,v 1.9 2003/11/23 20:58:20 mej Exp $";
+static const char cvs_ident[] = "$Id: options.c,v 1.10 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/regexp.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- regexp.c    19 Nov 2003 04:21:16 -0000      1.7
+++ regexp.c    26 Nov 2003 22:19:44 -0000      1.8
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: regexp.c,v 1.7 2003/11/19 04:21:16 mej Exp $";
+static const char cvs_ident[] = "$Id: regexp.c,v 1.8 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
@@ -177,7 +177,7 @@
     if (self->data != SPIF_NULL_TYPE(ptr)) {
         FREE(self->data);
     }
-#ifdef LIBAST_REGEXP_SUPPORT_PCRE
+#if LIBAST_REGEXP_SUPPORT_PCRE
     {
         const char *errptr;
         int erroffset;
@@ -189,7 +189,7 @@
         }
         return TRUE;
     }
-#elif defined(LIBAST_REGEXP_SUPPORT_POSIX)
+#elif (LIBAST_REGEXP_SUPPORT_POSIX)
     {
         char buff[256];
         int errcode;
@@ -203,7 +203,7 @@
         }
         return TRUE;
     }
-#elif defined(LIBAST_REGEXP_SUPPORT_BSD)
+#elif (LIBAST_REGEXP_SUPPORT_BSD)
     return TRUE;
 #endif
     ASSERT_NOTREACHED_RVAL(FALSE);
@@ -212,7 +212,7 @@
 spif_bool_t
 spif_regexp_matches_str(spif_regexp_t self, spif_str_t subject)
 {
-#ifdef LIBAST_REGEXP_SUPPORT_PCRE
+#if LIBAST_REGEXP_SUPPORT_PCRE
     {
         int rc;
 
@@ -227,7 +227,7 @@
             return FALSE;
         }
     }
-#elif defined(LIBAST_REGEXP_SUPPORT_POSIX)
+#elif (LIBAST_REGEXP_SUPPORT_POSIX)
     {
         int rc;
         char errbuf[256];
@@ -244,7 +244,7 @@
             return FALSE;
         }
     }
-#elif defined(LIBAST_REGEXP_SUPPORT_BSD)
+#elif (LIBAST_REGEXP_SUPPORT_BSD)
     {
         spif_charptr_t err;
 
@@ -261,7 +261,7 @@
 spif_bool_t
 spif_regexp_matches_ptr(spif_regexp_t self, spif_charptr_t subject)
 {
-#ifdef LIBAST_REGEXP_SUPPORT_PCRE
+#if LIBAST_REGEXP_SUPPORT_PCRE
     {
         int rc;
 
@@ -276,7 +276,7 @@
             return FALSE;
         }
     }
-#elif defined(LIBAST_REGEXP_SUPPORT_POSIX)
+#elif (LIBAST_REGEXP_SUPPORT_POSIX)
     {
         int rc;
         char errbuf[256];
@@ -293,7 +293,7 @@
             return FALSE;
         }
     }
-#elif defined(LIBAST_REGEXP_SUPPORT_BSD)
+#elif (LIBAST_REGEXP_SUPPORT_BSD)
     {
         spif_charptr_t err;
 
@@ -318,16 +318,16 @@
 {
     spif_charptr_t p;
 
-#ifdef LIBAST_REGEXP_SUPPORT_PCRE
+#if LIBAST_REGEXP_SUPPORT_PCRE
     self->flags = 0;
-#elif defined(LIBAST_REGEXP_SUPPORT_POSIX)
+#elif (LIBAST_REGEXP_SUPPORT_POSIX)
     self->flags = REG_EXTENDED | REG_NEWLINE;
 #endif
 
     REQUIRE_RVAL(flagstr != SPIF_NULL_TYPE(charptr), FALSE);
     for (p = flagstr; *p; p++) {
         switch (*p) {
-#ifdef LIBAST_REGEXP_SUPPORT_PCRE
+#if LIBAST_REGEXP_SUPPORT_PCRE
             case 'i':  self->flags |= PCRE_CASELESS; break;
             case 'm':  self->flags |= PCRE_MULTILINE; break;
             case 's':  self->flags |= PCRE_DOTALL; break;
@@ -337,7 +337,7 @@
             case '^':  self->flags |= PCRE_NOTBOL; break;
             case '$':  self->flags |= PCRE_NOTEOL; break;
             case 'E':  self->flags |= PCRE_NOTEMPTY; break;
-#elif defined(LIBAST_REGEXP_SUPPORT_POSIX)
+#elif (LIBAST_REGEXP_SUPPORT_POSIX)
             case 'b':  self->flags &= ~REG_EXTENDED; break;
             case 'i':  self->flags |= REG_ICASE; break;
             case 'n':  self->flags |= REG_NOSUB; break;
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/snprintf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- snprintf.c  5 Apr 2002 02:13:14 -0000       1.2
+++ snprintf.c  26 Nov 2003 22:19:44 -0000      1.3
@@ -1,13 +1,15 @@
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
 #include <errno.h>
-#ifdef HAVE_STDARG_H
+#if defined(HAVE_STDARG_H) && (HAVE_STDARG_H != 0)
 # include <stdarg.h>
+#else
+# undef HAVE_STDARG_H
 #endif
 
-static const char cvs_ident[] = "$Id: snprintf.c,v 1.2 2002/04/05 02:13:14 mej Exp $";
+static const char cvs_ident[] = "$Id: snprintf.c,v 1.3 2003/11/26 22:19:44 mej Exp $";
 
 /* 
  * Shamelessly snarfed from Enlightenment...
@@ -19,7 +21,7 @@
  * junk....
  */
 
-#if !defined(HAVE_SNPRINTF) || (HAVE_SNPRINTF_BUG == 1)
+#if !(HAVE_SNPRINTF) || (HAVE_SNPRINTF_BUG == 1)
 
 #define VA_LOCAL_DECL va_list ap
 #define VA_START(f) va_start(ap, f)
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/socket.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- socket.c    19 Nov 2003 04:21:16 -0000      1.12
+++ socket.c    26 Nov 2003 22:19:44 -0000      1.13
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: socket.c,v 1.12 2003/11/19 04:21:16 mej Exp $";
+static const char cvs_ident[] = "$Id: socket.c,v 1.13 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/str.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- str.c       10 Nov 2003 19:29:20 -0000      1.22
+++ str.c       26 Nov 2003 22:19:44 -0000      1.23
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: str.c,v 1.22 2003/11/10 19:29:20 mej Exp $";
+static const char cvs_ident[] = "$Id: str.c,v 1.23 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/strings.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- strings.c   10 Nov 2003 19:29:21 -0000      1.11
+++ strings.c   26 Nov 2003 22:19:44 -0000      1.12
@@ -30,15 +30,15 @@
  * @author Michael Jennings <[EMAIL PROTECTED]>
  */
 
-static const char cvs_ident[] = "$Id: strings.c,v 1.11 2003/11/10 19:29:21 mej Exp $";
+static const char cvs_ident[] = "$Id: strings.c,v 1.12 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
 #include <libast_internal.h>
 
-#ifndef HAVE_MEMMEM
+#if !(HAVE_MEMMEM)
 /* Find first occurance of bytestring needle of size needlelen in memory region
    haystack of size haystacklen */
 void *
@@ -58,7 +58,7 @@
 }
 #endif
 
-#ifndef HAVE_STRNLEN
+#if !(HAVE_STRNLEN)
 size_t
 strnlen(register const char *s, size_t maxlen)
 {
@@ -71,7 +71,7 @@
 }
 #endif
 
-#ifndef HAVE_USLEEP
+#if !(HAVE_USLEEP)
 void
 usleep(unsigned long usec)
 {
@@ -86,7 +86,7 @@
 #endif
 
 /***** Not needed ******
-#ifndef HAVE_NANOSLEEP
+#if !(HAVE_NANOSLEEP)
 __inline__ void
 nanosleep(unsigned long nsec) {
     usleep(nsec / 1000);
@@ -150,7 +150,7 @@
 }
 
 /* Returns TRUE if str matches regular expression pattern, FALSE otherwise */
-#if defined(HAVE_REGEX_H)
+#if HAVE_REGEX_H
 spif_bool_t
 regexp_match(register const char *str, register const char *pattern)
 {
@@ -512,7 +512,7 @@
     return (str);
 }
 
-#ifndef HAVE_STRCASESTR
+#if !(HAVE_STRCASESTR)
 char *
 strcasestr(const char *haystack, register const char *needle)
 {
@@ -528,7 +528,7 @@
 }
 #endif
 
-#ifndef HAVE_STRCASECHR
+#if !(HAVE_STRCASECHR)
 char *
 strcasechr(const char *haystack, register const char needle)
 {
@@ -543,7 +543,7 @@
 }
 #endif
 
-#ifndef HAVE_STRCASEPBRK
+#if !(HAVE_STRCASEPBRK)
 char *
 strcasepbrk(const char *haystack, register const char *needle)
 {
@@ -558,7 +558,7 @@
 }
 #endif
 
-#ifndef HAVE_STRREV
+#if !(HAVE_STRREV)
 char *
 strrev(register char *str)
 {
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/tok.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- tok.c       19 Nov 2003 04:21:16 -0000      1.15
+++ tok.c       26 Nov 2003 22:19:44 -0000      1.16
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: tok.c,v 1.15 2003/11/19 04:21:16 mej Exp $";
+static const char cvs_ident[] = "$Id: tok.c,v 1.16 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/src/url.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- url.c       19 Nov 2003 04:21:16 -0000      1.11
+++ url.c       26 Nov 2003 22:19:44 -0000      1.12
@@ -21,9 +21,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: url.c,v 1.11 2003/11/19 04:21:16 mej Exp $";
+static const char cvs_ident[] = "$Id: url.c,v 1.12 2003/11/26 22:19:44 mej Exp $";
 
-#ifdef HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && (HAVE_CONFIG_H != 0)
 # include <config.h>
 #endif
 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to