PATTERN_FILE_SIZE, NULL, &error);
g_assert_no_error (error);
total_read += read;
- log (" read %d bytes, total = %d of %d.\n", read, total_read,
- PATTERN_FILE_SIZE);
+ log (" read %d bytes, total = %d of %d.\n", (int) read,
+ (int) total_read, PATTERN_FILE_SIZE);
}
g_assert_cmpint (total_read, ==, PATTERN_FILE_SIZE);
int i, n;
MimeWeight mimes[10];
int n_mimes = 10;
- xdg_unichar_t *ucs4;
int len;
/* First, check the literals */
segment = NULL;
}
else
- segment = array->data;
+ segment = (gchar*) array->data;
if (preserve_wrapper)
{
*out_len = g_base64_decode_step (text, input_length, (guchar *) text, &state, &save);
- return text;
+ return (guchar *) text;
}
/* This module contains code for searching the table of Unicode character
properties. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "pcre_internal.h"
#include "ucp.h" /* Category definitions */
+#include "config.h"
#include "pcre_internal.h"
/*
/* This module contains code for searching the table of Unicode character
properties. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "pcre_internal.h"
#include "ucp.h" /* Category definitions */
+#include "config.h"
#include "pcre_internal.h"
/*
SUBDIRS=gobject refcount
-if ENABLE_REGEX
-enable_regex = -DENABLE_REGEX
-else
-enable_regex =
-endif
-
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/glib \
-I$(top_srcdir)/gmodule \
- $(GLIB_DEBUG_FLAGS) \
- $(enable_regex)
+ $(GLIB_DEBUG_FLAGS)
AM_CFLAGS = -g
#undef G_DISABLE_ASSERT
#undef G_LOG_DOMAIN
+#include "config.h"
+
#include <string.h>
#include <locale.h>
#include "glib.h"