mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 06:43:25 +00:00
Define QT_NO_KEYWORDS
This prevents Qt headers from defining macro symbols such as "emit" and "signals", therefore avoiding conflicts when struct members with the same names are defined in some C header. Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
This commit is contained in:
parent
f2ab8f42ee
commit
b5b14f1d95
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ VERSION=3.0.2
|
|||
CC=gcc
|
||||
CFLAGS=-Wall -Wno-pointer-sign -g $(CLCFLAGS) -DGSEAL_ENABLE
|
||||
CXX=g++
|
||||
CXXFLAGS=-Wall -g $(CLCFLAGS)
|
||||
CXXFLAGS=-Wall -g $(CLCFLAGS) -DQT_NO_KEYWORDS
|
||||
INSTALL=install
|
||||
PKGCONFIG=pkg-config
|
||||
XML2CONFIG=xml2-config
|
||||
|
|
Loading…
Add table
Reference in a new issue