mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
define PCRE_STATIC to reflect the inclusion of pcre as LIB, not
2007-03-17 Hans Breuer <hans@breuer.org> * glib/makefile.msc.in glib/pcre/makefile.msc glib/update-pcre/update.sh : define PCRE_STATIC to reflect the inclusion of pcre as LIB, not stand-alone DLL. Also set NEWLINE=-1 to match any newline by default, use of ../../build/win32/make.msc * glib/gregex.h : minimal includes of <glib/*.H> instead of <glib.h> * glib/gnulib/makefile.msc : make use of ../../build/win32/make.msc * tests/regex-test.c(verbose): don't pass a string containing '%' as first parameter to g_print () (test_match) : for the unexpected case output pattern and string escaped * tests/child-test.c tests/slice-color.c : fix c99ism * tests/slice-test.c : fix c99ism and gccism * tests/mapping-test.c tests/base-64-tests.c : don't #include <unistd.h> unconditionally * tests/option-test.c : use G_GINT64_CONSTANT() instead of direct LL * tests/makefile.msc.in : more tests build svn path=/trunk/; revision=5423
This commit is contained in:
@@ -146,6 +146,9 @@ test_thread (gpointer data)
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
#ifndef TEST_THREAD
|
||||
GPid pid;
|
||||
#endif
|
||||
#ifdef G_OS_WIN32
|
||||
argv0 = argv[0];
|
||||
if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'c')
|
||||
@@ -166,8 +169,6 @@ main (int argc, char *argv[])
|
||||
#if defined(G_THREADS_ENABLED) && ! defined(G_THREADS_IMPL_NONE)
|
||||
#ifdef TEST_THREAD
|
||||
g_thread_init (NULL);
|
||||
#else
|
||||
GPid pid;
|
||||
#endif
|
||||
main_loop = g_main_loop_new (NULL, FALSE);
|
||||
|
||||
|
Reference in New Issue
Block a user