1
0
mirror of synced 2025-01-18 00:56:49 +01:00

git: Improve indexing performance of repo

This commit is contained in:
WerWolv 2021-07-31 18:33:55 +02:00
parent 68df6d37f7
commit 2c71f61bfc
2 changed files with 11 additions and 5 deletions

4
.gitmodules vendored
View File

@ -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

View File

@ -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