Bug 1393896 Detect Windows using WIN32 instead of _MSC_VER which is not set under MinGW
MozReview-Commit-ID: METjBDU8gu
--- a/media/mtransport/third_party/nrappkit/src/log/r_log.c
+++ b/media/mtransport/third_party/nrappkit/src/log/r_log.c
@@ -44,17 +44,17 @@ static char *RCSSTRING __UNUSED__ ="$Id:
#define _BSD_SOURCE
#endif
#include "r_log.h"
#include "hex.h"
#include <string.h>
#include <errno.h>
-#ifndef _MSC_VER
+#ifndef WIN32
#include <strings.h>
#include <syslog.h>
#endif
#include <registry.h>
#include <time.h>
#include "nr_common.h"
old mode 100644
new mode 100755
--- a/media/mtransport/third_party/nrappkit/src/registry/registry.c
+++ b/media/mtransport/third_party/nrappkit/src/registry/registry.c
@@ -39,17 +39,17 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*
*/
#include <assert.h>
#include <string.h>
-#ifndef _MSC_VER
+#ifndef WIN32
#include <strings.h>
#include <sys/param.h>
#include <netinet/in.h>
#endif
#ifdef OPENSSL
#include <openssl/ssl.h>
#endif
#include <ctype.h>