- cmake, config-*: drop unused `PACKAGE*`, `VERSION` variables.
- config-win32: indentation
- config-win32ce: drop mingw-specific code.
This header is not used with MinGW.
- config-win32ce: `_WIN64` is never true for Windows CE, drop.
Closes #15978
#pragma enum(int)
-#undef PACKAGE
-
-/* Version number of this archive. */
-#undef VERSION
-
/* Define cpu-machine-OS */
#ifndef CURL_OS
#define CURL_OS "OS/400"
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H
-/* Name of package */
-#undef PACKAGE
-
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
#ifndef CURL_OS
#define CURL_OS "plan9"
#endif
-#define PACKAGE "curl"
-#define PACKAGE_NAME "curl"
-#define PACKAGE_BUGREPORT "a suitable mailing list: https://curl.se/mail/"
-#define PACKAGE_STRING "curl -"
-#define PACKAGE_TARNAME "curl"
-#define PACKAGE_VERSION "-"
-#define VERSION "0.0.0" /* TODO */
#define STDC_HEADERS 1
/* Hand crafted config file for RISC OS */
/* ================================================================ */
-/* Name of this package! */
-#undef PACKAGE
-
-/* Version number of this archive. */
-#undef VERSION
-
/* Define cpu-machine-OS */
#ifndef CURL_OS
#define CURL_OS "ARM-RISC OS"
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H
-/* Name of package */
-#undef PACKAGE
-
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* VS2008 default target settings and minimum build target check. */
#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (_MSC_VER <= 1600)
# ifndef _WIN32_WINNT
-# define _WIN32_WINNT VS2008_DEF_TARGET
+# define _WIN32_WINNT VS2008_DEF_TARGET
# endif
# ifndef WINVER
-# define WINVER VS2008_DEF_TARGET
+# define WINVER VS2008_DEF_TARGET
# endif
# if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
# error VS2008 does not support Windows build targets prior to Windows 2000
/* VS2012 default target settings and minimum build target check. */
#if defined(_MSC_VER) && (_MSC_VER >= 1700)
# ifndef _WIN32_WINNT
-# define _WIN32_WINNT VS2012_DEF_TARGET
+# define _WIN32_WINNT VS2012_DEF_TARGET
# endif
# ifndef WINVER
-# define WINVER VS2012_DEF_TARGET
+# define WINVER VS2012_DEF_TARGET
# endif
# if (_WIN32_WINNT < VS2012_MIN_TARGET) || (WINVER < VS2012_MIN_TARGET)
# if defined(_USING_V110_SDK71_)
#endif
#endif
-/* Name of package */
-#define PACKAGE "curl"
-
/* If you want to build curl with the built-in manual */
#define USE_MANUAL 1
/* #define HAVE_TERMIOS_H 1 */
/* Define if you have the <unistd.h> header file. */
-#if defined(__MINGW32__)
-#define HAVE_UNISTD_H 1
-#endif
+/* #define HAVE_UNISTD_H 1 */
/* ---------------------------------------------------------------- */
/* OTHER HEADER INFO */
/* #define HAVE_STRDUP 1 */
/* Define if you have the strtoll function. */
-#if defined(__MINGW32__)
-#define HAVE_STRTOLL 1
-#endif
+/* #define HAVE_STRTOLL 1 */
/* Define if you have the utime function. */
#define HAVE_UTIME 1
#define in_addr_t unsigned long
/* Define if ssize_t is not an available 'typedefed' type. */
-#if defined(_WIN64)
-#define ssize_t __int64
-#else
#define ssize_t int
-#endif
/* ---------------------------------------------------------------- */
/* TYPE SIZES */
#define SIZEOF_LONG 4
/* Define to the size of `size_t', as computed by sizeof. */
-#if defined(_WIN64)
-# define SIZEOF_SIZE_T 8
-#else
-# define SIZEOF_SIZE_T 4
-#endif
+#define SIZEOF_SIZE_T 4
/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
#define CURL_OS "i386-pc-win32ce"
#endif
-/* Name of package */
-#define PACKAGE "curl"
-
/* ---------------------------------------------------------------- */
/* Windows CE */
/* ---------------------------------------------------------------- */
/* cpu-machine-OS */
#cmakedefine CURL_OS ${CURL_OS}
-/* Name of package */
-#cmakedefine PACKAGE ${PACKAGE}
-
-/* Define to the address where bug reports for this package should be sent. */
-#cmakedefine PACKAGE_BUGREPORT ${PACKAGE_BUGREPORT}
-
-/* Define to the full name of this package. */
-#cmakedefine PACKAGE_NAME ${PACKAGE_NAME}
-
-/* Define to the full name and version of this package. */
-#cmakedefine PACKAGE_STRING ${PACKAGE_STRING}
-
-/* Define to the one symbol short name of this package. */
-#cmakedefine PACKAGE_TARNAME ${PACKAGE_TARNAME}
-
-/* Define to the version of this package. */
-#cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
-
/*
Note: SIZEOF_* variables are fetched with CMake through check_type_size().
As per CMake documentation on CheckTypeSize, C preprocessor code is
/* enable multiple SSL backends */
#cmakedefine CURL_WITH_MULTI_SSL 1
-/* Version number of package */
-#cmakedefine VERSION ${VERSION}
-
/* Number of bits in a file offset, on hosts where this is settable. */
#cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}