Cleanup compiler warning messages when building with MinGW

This commit is contained in:
Mark Pizzolato 2012-12-20 13:51:54 -08:00
parent b9ebd93bbd
commit 9e421ada27

View file

@ -659,6 +659,9 @@ extern int32 sim_asynch_inst_latency;
/* which avoids the potential ABA issues. */
#ifdef _WIN32
#include <winsock2.h>
#ifdef PACKED
#undef PACKED
#endif /* PACKED */
#ifdef ERROR
#undef ERROR
#endif /* ERROR */