mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
Do not redefine a stripped-down LyXRC object.
I am not sure why it was done this way, but it is not really necessary. Moreover gcc LTO does not like it.
This commit is contained in:
parent
e2f53f0f25
commit
c6754ed548
@ -12,6 +12,8 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "LyXRC.h"
|
||||
|
||||
#include "support/ConsoleApplication.h"
|
||||
#include "support/debug.h"
|
||||
#include "support/FileName.h"
|
||||
@ -70,9 +72,8 @@ namespace lyx {
|
||||
bool verbose = false;
|
||||
|
||||
// Dummy LyXRC support
|
||||
struct LyXRC {
|
||||
string icon_set;
|
||||
} lyxrc;
|
||||
LyXRC::LyXRC() {}
|
||||
LyXRC lyxrc;
|
||||
|
||||
// Keep the linker happy on Windows
|
||||
void lyx_exit(int)
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include "Format.h"
|
||||
#include "LaTeXFeatures.h"
|
||||
#include "LyXRC.h"
|
||||
#include "output_xhtml.h"
|
||||
|
||||
#include "support/Messages.h"
|
||||
@ -58,7 +59,8 @@ bool verbose = false;
|
||||
//
|
||||
|
||||
|
||||
class LyXRC {} lyxrc;
|
||||
LyXRC::LyXRC() {}
|
||||
LyXRC lyxrc;
|
||||
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user