diff options
author | Gerald Combs <gerald@wireshark.org> | 2020-07-01 11:26:57 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2020-07-01 20:23:22 +0000 |
commit | bd11d5b90b5043f5f1944797f421f8299961b6d2 (patch) | |
tree | f2c562be421d65754bedb9d27de1242e099581e6 /epan | |
parent | f0f2480f3ce3c46a738204942d00230be0c16f37 (diff) |
wslua: Include stdint.h on Windows.
The Universal CRT supplies stdint.h, so there's no reason to define our
own types.
Change-Id: I40d4216136aaecae1dc07b0b32ac31032a74b632
Reviewed-on: https://code.wireshark.org/review/37648
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/wslua/lua_bitop.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/epan/wslua/lua_bitop.c b/epan/wslua/lua_bitop.c index 27d92bc993..c951397857 100644 --- a/epan/wslua/lua_bitop.c +++ b/epan/wslua/lua_bitop.c @@ -17,14 +17,7 @@ #include "lua_bitop.h" #include "ws_diag_control.h" -#ifdef _MSC_VER -/* MSVC is stuck in the last century and doesn't have C99's stdint.h. */ -typedef __int32 int32_t; -typedef unsigned __int32 uint32_t; -typedef unsigned __int64 uint64_t; -#else #include <stdint.h> -#endif typedef int32_t SBits; typedef uint32_t UBits; |