mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix compilation on case insensitive filesystems
In such filesystems, including either Magic.h or magic.h does not make any difference and the one or other file is included depending on the search order. In this case, Magic.h was trying to include itself instead of including magic.h.
This commit is contained in:
parent
c9fd7058ab
commit
dfd6afb740
@ -23,7 +23,7 @@
|
||||
#include "support/filetools.h"
|
||||
#include "support/gettext.h"
|
||||
#include "support/lstrings.h"
|
||||
#include "support/Magic.h"
|
||||
#include "support/lyxmagic.h"
|
||||
#include "support/mutex.h"
|
||||
#include "support/os.h"
|
||||
#include "support/PathChanger.h"
|
||||
|
@ -74,9 +74,9 @@ liblyxsupport_a_SOURCES = \
|
||||
lstrings.h \
|
||||
lyxalgo.h \
|
||||
lyxlib.h \
|
||||
lyxmagic.h \
|
||||
lyxtime.cpp \
|
||||
lyxtime.h \
|
||||
Magic.h \
|
||||
mutex.h \
|
||||
mutex.cpp \
|
||||
Messages.cpp \
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*-
|
||||
/**
|
||||
* \file Magic.h
|
||||
* \file lyxmagic.h
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
Loading…
Reference in New Issue
Block a user