diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-10-06 20:51:13 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-10-06 20:51:13 +0000 |
commit | 0f8133c3f0128786a6a480e8f1e4d0406f6580d7 (patch) | |
tree | f23957bfd520669ad2240fc8201e67986461209e /cmakeconfig.h.in | |
parent | 88eb04035c0cb01b83e9fc5f274fd7800f705f21 (diff) |
More copying of config.h.win32 stuff into cmake
svn path=/trunk/; revision=52419
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index e9a9b19303..a72ef8bce3 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -409,13 +409,35 @@ # if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED) typedef int ssize_t; # endif + /* FIXME: Detection doesn't work */ # define HAVE_NTDDNDIS_H 1 + /* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) need these + * prototypes + * XXX: Can we use MSC_VER >= 1500 ?? */ +# if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 +# define NTDDI_VERSION NTDDI_WIN2K +# define _WIN32_WINNT _WIN32_WINNT_WIN2K +# endif + + /* + * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h + */ +# define YY_NO_UNISTD_H + + # define strncasecmp strnicmp +# define popen _popen +# define pclose _pclose + # ifndef __STDC__ # define __STDC__ 0 # endif /* Use Unicode in Windows runtime functions. */ # define UNICODE 1 # define _UNICODE 1 + +# define INET6 1 +# define NEED_INET_V6DEFS_H 1 +# define HTML_VIEWER "mozilla" #endif |