aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-12-07 23:58:46 +0000
committerGuy Harris <guy@alum.mit.edu>2007-12-07 23:58:46 +0000
commit947e70b4b72bf65c8ad5e29d5cc0d7353f031513 (patch)
tree7901804d8412c5b0248e742c48f65a09151e5c39 /wiretap
parent8b87d048e9f98e9261742118cf0664639f88d96c (diff)
downloadwireshark-947e70b4b72bf65c8ad5e29d5cc0d7353f031513.tar.gz
wireshark-947e70b4b72bf65c8ad5e29d5cc0d7353f031513.tar.bz2
wireshark-947e70b4b72bf65c8ad5e29d5cc0d7353f031513.zip
Delete the *right* config.h.win32.
Copy the MSVC++-version-checking stuff from it into the top-level config.h.win32, and try to set up config.nmake so that MSC_VER_REQUIRED is defined in all Makefiles that include config.nmake. svn path=/trunk/; revision=23802
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/Makefile.nmake2
-rw-r--r--wiretap/config.h.win3260
2 files changed, 1 insertions, 61 deletions
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake
index 78e16f0e37..3e5186251c 100644
--- a/wiretap/Makefile.nmake
+++ b/wiretap/Makefile.nmake
@@ -9,7 +9,7 @@ include ..\Makefile.nmake.inc
include Makefile.common
CFLAGS=-WX -DYYMALLOC=malloc -DYYFREE=free -DHAVE_CONFIG_H $(GLIB_CFLAGS) $(ZLIB_CFLAGS) /I$(PCAP_DIR)/include \
- -D_U_="" $(LOCAL_CFLAGS) -DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED)
+ -D_U_="" $(LOCAL_CFLAGS)
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
diff --git a/wiretap/config.h.win32 b/wiretap/config.h.win32
deleted file mode 100644
index 6ad9bcf7dc..0000000000
--- a/wiretap/config.h.win32
+++ /dev/null
@@ -1,60 +0,0 @@
-/* $Id$ */
-/* config.h.win32 Generated manually. :-) */
-/* config.h. Generated automatically by configure. */
-/* config.h.in. Generated automatically from configure.in by autoheader. */
-
-/* Generated Bison and Flex files test whether __STDC__ is defined
- in order to check whether to use ANSI C features such as "const".
-
- GCC defines it as 1 even if extensions that render the implementation
- non-conformant are enabled; Sun's C compiler (and, I think, other
- AT&T-derived C compilers) define it as 0 if extensions that render
- the implementation non-conformant are enabled; Microsoft Visual C++
- 6.0 doesn't define it at all if extensions that render the implementation
- non-conformant are enabled.
-
- We define it as 0 here, so that those generated files will use
- those features (and thus not get type warnings when compiled with
- MSVC++). */
-#ifndef __STDC__
-#define __STDC__ 0
-#endif
-
-/* Define if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define if you have the <unistd.h> header file. */
-/* #define HAVE_UNISTD_H */
-
-/* Define if you have the z library (-lz). */
-@HAVE_LIBZ@
-
-/* Define if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* Name of package */
-#define PACKAGE "libwtap.a"
-
-/* Version number of package */
-#define VERSION "@VERSION@"
-
-#define HAVE_WINSOCK2_H 1
-#define HAVE_PCAP_H 1
-
-/* Needed for zlib, according to http://www.winimage.com/zLibDll/ */
-/*#define ZLIB_DLL 1
-#define _WINDOWS 1*/
-
-/* Check for the required _MSC_VER */
-#if MSC_VER_REQUIRED != _MSC_VER
-#define WS_TO_STRING2(x) #x
-#define WS_TO_STRING(x) WS_TO_STRING2(x)
-#pragma message( "_MSC_VER is:" WS_TO_STRING(_MSC_VER) " but required is:" WS_TO_STRING(MSC_VER_REQUIRED) )
-#error Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version!
-#endif