Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Modules/socketmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
*/
#ifdef AF_BTH
# include <ws2bth.h>
# ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wpragma-pack"
# endif
# include <pshpack1.h>

/*
Expand Down Expand Up @@ -51,7 +55,10 @@ struct SOCKADDR_BTH_REDEF {

};
# include <poppack.h>
#endif
# ifdef __clang__
# pragma clang diagnostic pop
# endif
#endif /* AF_BTH */

/* Windows 'supports' CMSG_LEN, but does not follow the POSIX standard
* interface at all, so there is no point including the code that
Expand Down
Loading