summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-04-21 14:08:49 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-05-15 20:23:38 +0200
commit8c10e1b660be1286439e15c9a955461f25b53616 (patch)
treeeb7e28be82c4611ce1f193818bc32999ba964f85 /apps/include
parent6d382c74b375f1f8c44f04ec3de95ff781598a3b (diff)
downloadopenssl-new-8c10e1b660be1286439e15c9a955461f25b53616.tar.gz
Clean up macro definitions of openssl_fdset() in apps.h and sockets.h
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/4277)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/apps.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index 7789bd2b0a..a8da7ac9f4 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -12,6 +12,7 @@
# include "e_os.h" /* struct timeval for DTLS */
# include "internal/nelem.h"
+# include "internal/sockets.h" /* for openssl_fdset() */
# include <assert.h>
# include <sys/types.h>
@@ -35,13 +36,6 @@
# include "fmt.h"
# include "platform.h"
-/* also in include/internal/sockets.h */
-# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE)
-# define openssl_fdset(a,b) FD_SET((unsigned int)a, b)
-# else
-# define openssl_fdset(a,b) FD_SET(a, b)
-# endif
-
/*
* quick macro when you need to pass an unsigned char instead of a char.
* this is true for some implementations of the is*() functions, for