mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
curlx: move version_win32.[ch] to curlx/
For curlx_verify_windows_version Closes #17290
This commit is contained in:
parent
5b454bae0c
commit
16db059a93
18 changed files with 22 additions and 28 deletions
|
|
@ -30,6 +30,7 @@ LIB_CURLX_CFILES = \
|
|||
curlx/strparse.c \
|
||||
curlx/timediff.c \
|
||||
curlx/timeval.c \
|
||||
curlx/version_win32.c \
|
||||
curlx/warnless.c
|
||||
|
||||
LIB_CURLX_HFILES = \
|
||||
|
|
@ -41,6 +42,7 @@ LIB_CURLX_HFILES = \
|
|||
curlx/strparse.h \
|
||||
curlx/timediff.h \
|
||||
curlx/timeval.h \
|
||||
curlx/version_win32.h \
|
||||
curlx/warnless.h
|
||||
|
||||
LIB_VAUTH_CFILES = \
|
||||
|
|
@ -257,7 +259,6 @@ LIB_CFILES = \
|
|||
url.c \
|
||||
urlapi.c \
|
||||
version.c \
|
||||
version_win32.c \
|
||||
ws.c
|
||||
|
||||
LIB_HFILES = \
|
||||
|
|
@ -392,7 +393,6 @@ LIB_HFILES = \
|
|||
url.h \
|
||||
urlapi-int.h \
|
||||
urldata.h \
|
||||
version_win32.h \
|
||||
ws.h
|
||||
|
||||
LIB_RCFILES = libcurl.rc
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
#include "share.h"
|
||||
#include "strdup.h"
|
||||
#include "system_win32.h"
|
||||
#include "version_win32.h"
|
||||
#include "curlx/version_win32.h"
|
||||
#include "curlx/strparse.h"
|
||||
|
||||
/* The last 3 #include files should be in this order */
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
#include "conncache.h"
|
||||
#include "multihandle.h"
|
||||
#include "share.h"
|
||||
#include "version_win32.h"
|
||||
#include "curlx/version_win32.h"
|
||||
#include "vquic/vquic.h" /* for quic cfilters */
|
||||
#include "http_proxy.h"
|
||||
#include "socks.h"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#include "curl_sspi.h"
|
||||
#include "curlx/multibyte.h"
|
||||
#include "system_win32.h"
|
||||
#include "version_win32.h"
|
||||
#include "curlx/version_win32.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/* The last #include files should be: */
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@
|
|||
curlx_unicodefree()
|
||||
*/
|
||||
|
||||
#include "../version_win32.h"
|
||||
/* "version_win32.h" provides curlx_verify_windows_version() */
|
||||
#include "version_win32.h"
|
||||
/* provides curlx_verify_windows_version() */
|
||||
|
||||
#include "strparse.h"
|
||||
/* The curlx_str_* parsing functions */
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#ifdef _WIN32
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include "../version_win32.h"
|
||||
#include "../curlx/version_win32.h"
|
||||
#include "../system_win32.h"
|
||||
|
||||
LARGE_INTEGER Curl_freq;
|
||||
|
|
|
|||
|
|
@ -22,17 +22,17 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
|
||||
#include "curl_setup.h"
|
||||
#include "../curl_setup.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include "version_win32.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "warnless.h"
|
||||
|
||||
/* The last 2 #include files should be in this order */
|
||||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
#include "../curl_memory.h"
|
||||
#include "../memdebug.h"
|
||||
|
||||
/* This Unicode version struct works for VerifyVersionInfoW (OSVERSIONINFOEXW)
|
||||
and RtlVerifyVersionInfo (RTLOSVERSIONINFOEXW) */
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
|
||||
#include "curl_setup.h"
|
||||
#include "../curl_setup.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <curl/curl.h>
|
||||
#include "system_win32.h"
|
||||
#include "version_win32.h"
|
||||
#include "curlx/version_win32.h"
|
||||
#include "curl_sspi.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
#include "../curl_printf.h"
|
||||
#include "../multiif.h"
|
||||
#include "../system_win32.h"
|
||||
#include "../version_win32.h"
|
||||
#include "../curlx/version_win32.h"
|
||||
#include "../rand.h"
|
||||
#include "../curlx/strparse.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
#include "../curlx/multibyte.h"
|
||||
#include "../curl_printf.h"
|
||||
#include "hostcheck.h"
|
||||
#include "../version_win32.h"
|
||||
#include "../curlx/version_win32.h"
|
||||
|
||||
/* The last #include file should be: */
|
||||
#include "../curl_memory.h"
|
||||
|
|
|
|||
|
|
@ -2248,7 +2248,6 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
CURL_LIB_CURLX_C_FILES
|
||||
CURL_SRC_X_C_FILES
|
||||
CURL_SRC_C_FILES
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -2296,7 +2296,6 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
CURL_LIB_CURLX_C_FILES
|
||||
CURL_SRC_X_C_FILES
|
||||
CURL_SRC_C_FILES
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -2296,7 +2296,6 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
CURL_LIB_CURLX_C_FILES
|
||||
CURL_SRC_X_C_FILES
|
||||
CURL_SRC_C_FILES
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -152,12 +152,9 @@ rem
|
|||
for /f "delims=" %%h in ('dir /b ..\src\*.h') do call :element %1 src "%%h" %3
|
||||
) else if "!var!" == "CURL_SRC_RC_FILES" (
|
||||
for /f "delims=" %%r in ('dir /b ..\src\*.rc') do call :element %1 src "%%r" %3
|
||||
) else if "!var!" == "CURL_SRC_X_C_FILES" (
|
||||
call :element %1 lib "version_win32.c" %3
|
||||
) else if "!var!" == "CURL_SRC_X_H_FILES" (
|
||||
call :element %1 lib "config-win32.h" %3
|
||||
call :element %1 lib "curl_setup.h" %3
|
||||
call :element %1 lib "version_win32.h" %3
|
||||
) else if "!var!" == "CURL_LIB_C_FILES" (
|
||||
for /f "delims=" %%c in ('dir /b ..\lib\*.c') do call :element %1 lib "%%c" %3
|
||||
) else if "!var!" == "CURL_LIB_H_FILES" (
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ CURLX_CFILES = \
|
|||
../lib/curlx/strparse.c \
|
||||
../lib/curlx/timediff.c \
|
||||
../lib/curlx/timeval.c \
|
||||
../lib/version_win32.c \
|
||||
../lib/curlx/version_win32.c \
|
||||
../lib/curlx/warnless.c
|
||||
|
||||
CURLX_HFILES = \
|
||||
|
|
@ -50,7 +50,7 @@ CURLX_HFILES = \
|
|||
../lib/curlx/strparse.h \
|
||||
../lib/curlx/timediff.h \
|
||||
../lib/curlx/timeval.h \
|
||||
../lib/version_win32.h \
|
||||
../lib/curlx/version_win32.h \
|
||||
../lib/curlx/warnless.h
|
||||
|
||||
CURL_CFILES = \
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ CURLX_SRCS = \
|
|||
../../lib/strcase.c \
|
||||
../../lib/strdup.c \
|
||||
../../lib/curlx/multibyte.c \
|
||||
../../lib/version_win32.c
|
||||
../../lib/curlx/version_win32.c
|
||||
|
||||
CURLX_HDRS = \
|
||||
../../lib/curlx/curlx.h \
|
||||
|
|
@ -54,7 +54,7 @@ CURLX_HDRS = \
|
|||
../../lib/strcase.h \
|
||||
../../lib/strdup.h \
|
||||
../../lib/curlx/multibyte.h \
|
||||
../../lib/version_win32.h
|
||||
../../lib/curlx/version_win32.h
|
||||
|
||||
UTIL = \
|
||||
getpart.c \
|
||||
|
|
|
|||
|
|
@ -727,8 +727,8 @@ $(CURL_DIROBJ)\timeval.obj: ../lib/curlx/timeval.c
|
|||
$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curlx/timeval.c
|
||||
$(CURL_DIROBJ)\multibyte.obj: ../lib/curlx/multibyte.c
|
||||
$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curlx/multibyte.c
|
||||
$(CURL_DIROBJ)\version_win32.obj: ../lib/version_win32.c
|
||||
$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/version_win32.c
|
||||
$(CURL_DIROBJ)\version_win32.obj: ../lib/curlx/version_win32.c
|
||||
$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curlx/version_win32.c
|
||||
$(CURL_DIROBJ)\warnless.obj: ../lib/curlx/warnless.c
|
||||
$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curlx/warnless.c
|
||||
$(CURL_DIROBJ)\dynbuf.obj: ../lib/curlx/dynbuf.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue