tests: move CURL_NO_OLDIES from build to first.h

This commit is contained in:
Viktor Szakats 2025-06-28 03:17:38 +02:00
parent 819f63679c
commit 96dcf33704
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
13 changed files with 11 additions and 12 deletions

View file

@ -57,7 +57,7 @@ if CURLDEBUG
AM_CPPFLAGS += -DCURLDEBUG
endif
# unit tests are small pretend-libcurl-programs, pass BUILDING_LIBCURL to reflect that
AM_CPPFLAGS += -DCURL_NO_OLDIES -DCURL_DISABLE_DEPRECATION -DBUILDING_LIBCURL
AM_CPPFLAGS += -DCURL_DISABLE_DEPRECATION -DBUILDING_LIBCURL
if BUILD_UNITTESTS
$(BUNDLE).c: $(top_srcdir)/scripts/mk-unity.pl Makefile.inc $(FIRST_C) $(TESTS_C)