diff options
author | Hans Breuer <hans@breuer.org> | 2007-03-17 09:49:09 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2007-03-17 09:49:09 +0000 |
commit | 770b29bad2e95f28fda6849e9f9c30560be90cb1 (patch) | |
tree | a768d0edcccb8ab2555560df5e07c4c905ef5dde /tests/mapping-test.c | |
parent | 45b2988d051ea396a941883a124880329516c7fb (diff) | |
download | glib-770b29bad2e95f28fda6849e9f9c30560be90cb1.tar.gz |
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
Diffstat (limited to 'tests/mapping-test.c')
-rw-r--r-- | tests/mapping-test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mapping-test.c b/tests/mapping-test.c index afc520d21..1a10b190b 100644 --- a/tests/mapping-test.c +++ b/tests/mapping-test.c @@ -16,10 +16,13 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +#include "config.h" #include <stdlib.h> #include <string.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <sys/types.h> #include <signal.h> |