Skip to content

Commit e205074

Browse files
committed
适配新版本
1 parent c1f0b68 commit e205074

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@mkdir build
22
@cd build
33
@mkdir imports
4-
@g++ -std=c++11 -I ..\include -shared -static -fPIC -s -O3 ..\regex.cpp -o .\imports\regex.cse
4+
@g++ -std=c++11 -I%CS_DEV_PATH%\include -I..\include -shared -static -fPIC -s -O3 ..\regex.cpp -o .\imports\regex.cse -L%CS_DEV_PATH%\lib -lcovscript

regex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Github: https://github.com/mikecovlee
1919
*/
2020
#include <regex>
21-
#include <covscript/extension.hpp>
21+
#include <covscript/dll.hpp>
2222

2323
static cs::namespace_t regex_ext=cs::make_shared_namespace<cs::name_space>();
2424
static cs::namespace_t regex_result_ext=cs::make_shared_namespace<cs::name_space>();

0 commit comments

Comments
 (0)