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"
|
||||
#define DEFAULT_WIDTH 30
|
||||
|
||||
#if 0 // ndef HEADLESS
|
||||
// utils
|
||||
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;
|
||||
return none;
|
||||
}
|
||||
#endif
|
||||
|
||||
struct TextEditorModule : Module {
|
||||
std::string file;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue