aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_driver.h
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-09-06 12:42:28 +0200
committerJohn Högberg <[email protected]>2017-09-06 13:48:51 +0200
commit0cc04010ae73fcb591be4f35c00eb61b653cc0d0 (patch)
tree01f3790ea5682742297cb786cd676fb49ae21dc0 /erts/emulator/beam/erl_driver.h
parent28759f8cbde480be7782bac9169eeb9e4fb60bce (diff)
parentad5d9eef3f41274f08008cdbb43afb2088d3276e (diff)
downloadotp-0cc04010ae73fcb591be4f35c00eb61b653cc0d0.tar.gz
otp-0cc04010ae73fcb591be4f35c00eb61b653cc0d0.tar.bz2
otp-0cc04010ae73fcb591be4f35c00eb61b653cc0d0.zip
Merge branch 'maint' into john/erts/merge-zlib-and-vector-q
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r--erts/emulator/beam/erl_driver.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index 0e8ebf0c98..5ad616fec3 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -40,7 +40,6 @@
#include "erl_drv_nif.h"
#include <stdlib.h>
-#include <sys/types.h> /* ssize_t */
#if defined(__WIN32__) || defined(_WIN32) || defined(_WIN32_)
#ifndef STATIC_ERLANG_DRIVER
@@ -48,24 +47,6 @@
#define ERL_DRIVER_TYPES_ONLY
#define WIN32_DYNAMIC_ERL_DRIVER
#endif
-/*
- * This structure can be cast to a WSABUF structure.
- */
-typedef struct _SysIOVec {
- unsigned long iov_len;
- char* iov_base;
-} SysIOVec;
-#else /* Unix */
-# ifdef HAVE_SYS_UIO_H
-# include <sys/types.h>
-# include <sys/uio.h>
-typedef struct iovec SysIOVec;
-# else
-typedef struct {
- char* iov_base;
- size_t iov_len;
-} SysIOVec;
-# endif
#endif
#ifndef EXTERN