1 
2 /***************************************************************************
3  * nmap_winconfig.h -- Since the Windows port is currently eschewing       *
4  * autoconf-style configure scripts, nmap_winconfig.h contains the         *
5  * platform-specific definitions for Windows and is used as a replacement  *
6  * for config.h                                                            *
7  *                                                                         *
8  ***********************IMPORTANT NMAP LICENSE TERMS************************
9  *                                                                         *
10  * The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap  *
11  * Project"). Nmap is also a registered trademark of the Nmap Project.     *
12  *                                                                         *
13  * This program is distributed under the terms of the Nmap Public Source   *
14  * License (NPSL). The exact license text applying to a particular Nmap    *
15  * release or source code control revision is contained in the LICENSE     *
16  * file distributed with that version of Nmap or source code control       *
17  * revision. More Nmap copyright/legal information is available from       *
18  * https://nmap.org/book/man-legal.html, and further information on the    *
19  * NPSL license itself can be found at https://nmap.org/npsl. This header  *
20  * summarizes some key points from the Nmap license, but is no substitute  *
21  * for the actual license text.                                            *
22  *                                                                         *
23  * Nmap is generally free for end users to download and use themselves,    *
24  * including commercial use. It is available from https://nmap.org.        *
25  *                                                                         *
26  * The Nmap license generally prohibits companies from using and           *
27  * redistributing Nmap in commercial products, but we sell a special Nmap  *
28  * OEM Edition with a more permissive license and special features for     *
29  * this purpose. See https://nmap.org/oem                                  *
30  *                                                                         *
31  * If you have received a written Nmap license agreement or contract       *
32  * stating terms other than these (such as an Nmap OEM license), you may   *
33  * choose to use and redistribute Nmap under those terms instead.          *
34  *                                                                         *
35  * The official Nmap Windows builds include the Npcap software             *
36  * (https://npcap.org) for packet capture and transmission. It is under    *
37  * separate license terms which forbid redistribution without special      *
38  * permission. So the official Nmap Windows builds may not be              *
39  * redistributed without special permission (such as an Nmap OEM           *
40  * license).                                                               *
41  *                                                                         *
42  * Source is provided to this software because we believe users have a     *
43  * right to know exactly what a program is going to do before they run it. *
44  * This also allows you to audit the software for security holes.          *
45  *                                                                         *
46  * Source code also allows you to port Nmap to new platforms, fix bugs,    *
47  * and add new features.  You are highly encouraged to submit your         *
48  * changes as a Github PR or by email to the dev@nmap.org mailing list     *
49  * for possible incorporation into the main distribution. Unless you       *
50  * specify otherwise, it is understood that you are offering us very       *
51  * broad rights to use your submissions as described in the Nmap Public    *
52  * Source License Contributor Agreement. This is important because we      *
53  * fund the project by selling licenses with various terms, and also       *
54  * because the inability to relicense code has caused devastating          *
55  * problems for other Free Software projects (such as KDE and NASM).       *
56  *                                                                         *
57  * The free version of Nmap is distributed in the hope that it will be     *
58  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of  *
59  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties,        *
60  * indemnification and commercial support are all available through the    *
61  * Npcap OEM program--see https://nmap.org/oem.                            *
62  *                                                                         *
63  ***************************************************************************/
64 
65 /* $Id: nmap_winconfig.h 38078 2020-10-02 16:12:22Z dmiller $ */
66 
67 #ifndef NMAP_WINCONFIG_H
68 #define NMAP_WINCONFIG_H
69 /* Without this, Windows will give us all sorts of crap about using functions
70    like strcpy() even if they are done safely */
71 #define _CRT_SECURE_NO_DEPRECATE 1
72 #define NMAP_PLATFORM "i686-pc-windows-windows"
73 
74 #define HAVE_OPENSSL 1
75 #define HAVE_SSL_SET_TLSEXT_HOST_NAME 1
76 #define HAVE_LIBSSH2 1
77 #define HAVE_LIBZ 1
78 /* Since MSVC 2010, stdint.h is included as part of C99 compatibility */
79 #define HAVE_STDINT_H 1
80 
81 #define LUA_INCLUDED 1
82 #undef PCAP_INCLUDED
83 #define DNET_INCLUDED 1
84 #define PCRE_INCLUDED 1
85 #define LIBSSH2_INCLUDED 1
86 #define ZLIB_INCLUDED 1
87 
88 #endif /* NMAP_WINCONFIG_H */
89 
90