Fix some compilation warnings and enable Windows JIT (#586)

This commit is contained in:
Wenyong Huang
2021-03-22 06:28:51 -05:00
committed by GitHub
parent a4e4d4198f
commit 02d27e13ee
14 changed files with 119 additions and 29 deletions

View File

@ -6,6 +6,7 @@
#ifndef __GNUC__
#include "bh_getopt.h"
#include <stdio.h>
#include <string.h>
char* optarg = NULL;
@ -14,7 +15,6 @@ int optind = 1;
int getopt(int argc, char *const argv[], const char *optstring)
{
static int sp = 1;
int c;
int opt;
char *p;