aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/lua_bitop.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-07-01 11:26:57 -0700
committerAnders Broman <a.broman58@gmail.com>2020-07-01 20:23:22 +0000
commitbd11d5b90b5043f5f1944797f421f8299961b6d2 (patch)
treef2c562be421d65754bedb9d27de1242e099581e6 /epan/wslua/lua_bitop.c
parentf0f2480f3ce3c46a738204942d00230be0c16f37 (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/wslua/lua_bitop.c')
-rw-r--r--epan/wslua/lua_bitop.c7
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;