Cleanup compiler warning messages when building with MinGW
This commit is contained in:
parent
b9ebd93bbd
commit
9e421ada27
1 changed files with 3 additions and 0 deletions
|
@ -659,6 +659,9 @@ extern int32 sim_asynch_inst_latency;
|
||||||
/* which avoids the potential ABA issues. */
|
/* which avoids the potential ABA issues. */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
#ifdef PACKED
|
||||||
|
#undef PACKED
|
||||||
|
#endif /* PACKED */
|
||||||
#ifdef ERROR
|
#ifdef ERROR
|
||||||
#undef ERROR
|
#undef ERROR
|
||||||
#endif /* ERROR */
|
#endif /* ERROR */
|
||||||
|
|
Loading…
Add table
Reference in a new issue