git: Improve indexing performance of repo
This commit is contained in:
parent
68df6d37f7
commit
2c71f61bfc
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,6 +1,7 @@
|
||||
[submodule "external/nativefiledialog"]
|
||||
path = external/nativefiledialog
|
||||
url = https://github.com/btzy/nativefiledialog-extended
|
||||
ignore = dirty
|
||||
[submodule "external/yara/yara"]
|
||||
path = external/yara/yara
|
||||
url = https://github.com/VirusTotal/yara
|
||||
@ -8,9 +9,12 @@
|
||||
[submodule "external/xdgpp"]
|
||||
path = external/xdgpp
|
||||
url = https://git.sr.ht/~danyspin97/xdgpp
|
||||
ignore = dirty
|
||||
[submodule "external/fmt"]
|
||||
path = external/fmt
|
||||
url = https://github.com/fmtlib/fmt
|
||||
ignore = dirty
|
||||
[submodule "external/curl"]
|
||||
path = external/curl
|
||||
url = https://github.com/curl/curl
|
||||
ignore = dirty
|
||||
|
@ -1,4 +1,5 @@
|
||||
#if defined(OS_WINDOWS)
|
||||
|
||||
#define RESOURCE(name, path) __asm__ ( \
|
||||
".section .rodata\n" \
|
||||
".global " #name "\n" \
|
||||
@ -9,6 +10,7 @@
|
||||
".int " #name "_size - " #name "\n" \
|
||||
".align 8\n" \
|
||||
)
|
||||
|
||||
#else
|
||||
|
||||
#define RESOURCE(name, path) __asm__ ( \
|
||||
@ -16,12 +18,12 @@
|
||||
".global " #name "\n" \
|
||||
".global " #name "_size\n" \
|
||||
#name ":\n" \
|
||||
".incbin \"" path "\"\n" \
|
||||
".type " #name ", @object\n" \
|
||||
".size " #name "_size, 1\n" \
|
||||
".incbin \"" path "\"\n" \
|
||||
".type " #name ", @object\n" \
|
||||
".size " #name "_size, 1\n" \
|
||||
#name "_size:\n" \
|
||||
".int " #name "_size - " #name "\n" \
|
||||
".align 8\n" \
|
||||
".int " #name "_size - " #name "\n" \
|
||||
".align 8\n" \
|
||||
)
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user