mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
use internal *printf() clones since snprintf() not available on all platforms
This commit is contained in:
parent
fcf9029179
commit
a4eddf0d0d
@ -30,6 +30,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||||||
# setup.h file
|
# setup.h file
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/include/curl \
|
INCLUDES = -I$(top_srcdir)/include/curl \
|
||||||
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib
|
-I$(top_srcdir)/lib
|
||||||
|
|
||||||
@ -39,6 +40,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl
|
|||||||
|
|
||||||
# files used only in some libcurl test programs
|
# files used only in some libcurl test programs
|
||||||
TESTUTIL = testutil.c testutil.h
|
TESTUTIL = testutil.c testutil.h
|
||||||
|
MPRINTF = $(top_srcdir)/lib/mprintf.c $(top_srcdir)/lib/mprintf.h
|
||||||
|
|
||||||
# these files are used in every single test program below
|
# these files are used in every single test program below
|
||||||
SUPPORTFILES = first.c test.h
|
SUPPORTFILES = first.c test.h
|
||||||
@ -114,7 +116,7 @@ lib527_CFLAGS = -DLIB527
|
|||||||
lib529_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL)
|
lib529_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL)
|
||||||
lib529_CFLAGS = -DLIB529
|
lib529_CFLAGS = -DLIB529
|
||||||
|
|
||||||
lib530_SOURCES = lib530.c $(SUPPORTFILES) $(TESTUTIL)
|
lib530_SOURCES = lib530.c $(SUPPORTFILES) $(TESTUTIL) $(MPRINTF)
|
||||||
lib530_CFLAGS = -DLIB530
|
lib530_CFLAGS = -DLIB530
|
||||||
|
|
||||||
lib532_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL)
|
lib532_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL)
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
#define ENABLE_CURLX_PRINTF
|
||||||
|
#include "curlx.h"
|
||||||
|
|
||||||
#include "testutil.h"
|
#include "testutil.h"
|
||||||
|
|
||||||
#define MAIN_LOOP_HANG_TIMEOUT 90 * 1000
|
#define MAIN_LOOP_HANG_TIMEOUT 90 * 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user