瀏覽代碼

Fix linker warnings from pcre (#598)

tobil4sk 2 年之前
父節點
當前提交
921d104242
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/std/regexp.c

+ 1 - 0
src/std/regexp.c

@@ -21,6 +21,7 @@
  */
 #include <hl.h>
 
+#define PCRE2_STATIC
 #include <pcre2.h>
 
 typedef struct _ereg ereg;