Fix headless build
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
6f9013da16
commit
31adcb5622
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
"int such_highlight_much_wow() { return 1337; }\n"
|
"int such_highlight_much_wow() { return 1337; }\n"
|
||||||
#define DEFAULT_WIDTH 30
|
#define DEFAULT_WIDTH 30
|
||||||
|
|
||||||
|
#if 0 // ndef HEADLESS
|
||||||
// utils
|
// utils
|
||||||
static const TextEditor::LanguageDefinition& getLangFromString(const std::string& lang)
|
static const TextEditor::LanguageDefinition& getLangFromString(const std::string& lang)
|
||||||
{
|
{
|
||||||
|
@ -57,6 +58,7 @@ static const TextEditor::LanguageDefinition& getLangFromString(const std::string
|
||||||
static const TextEditor::LanguageDefinition none;
|
static const TextEditor::LanguageDefinition none;
|
||||||
return none;
|
return none;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
struct TextEditorModule : Module {
|
struct TextEditorModule : Module {
|
||||||
std::string file;
|
std::string file;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue