mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 18:52:30 +01:00
https://github.com/Edd12321/zrc UNIX shell and scripting language with syntax similar to Tcl
13 lines
252 B
Diff
13 lines
252 B
Diff
--- a/src/main.cpp
|
|
+++ b/src/main.cpp
|
|
@@ -15,6 +15,9 @@
|
|
#include "globals.hpp"
|
|
#include "config.hpp"
|
|
|
|
+#define basename(path) \
|
|
+ (strrchr((path),'/') ? strrchr((path),'/')+1 : (path))
|
|
+
|
|
#include "syn.cpp"
|
|
#include "vars.cpp"
|
|
#include "list.cpp"
|