Skip to content

Commit

Permalink
Removed -DTIXML_USE_STL flag (danmar#5624)
Browse files Browse the repository at this point in the history
Updated version of danmar#5145
  • Loading branch information
orbitcowboy authored Nov 5, 2023
1 parent 0dc53ac commit 966a89d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ ifeq ($(HAVE_RULES),yes)
ifeq ($(PCRE_CONFIG),)
$(error Did not find pcre-config)
endif
override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell $(PCRE_CONFIG) --cflags)
override CXXFLAGS += -DHAVE_RULES $(shell $(PCRE_CONFIG) --cflags)
ifdef LIBS
LIBS += $(shell $(PCRE_CONFIG) --libs)
else
Expand Down
2 changes: 1 addition & 1 deletion cmake/compilerDefinitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (CPPCHK_GLIBCXX_DEBUG AND UNIX AND CMAKE_BUILD_TYPE STREQUAL "Debug")
endif()

if (HAVE_RULES)
add_definitions(-DHAVE_RULES -DTIXML_USE_STL)
add_definitions(-DHAVE_RULES)
endif()

if (Boost_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion tools/dmake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ int main(int argc, char **argv)
<< " ifeq ($(PCRE_CONFIG),)\n"
<< " $(error Did not find pcre-config)\n"
<< " endif\n"
<< " override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell $(PCRE_CONFIG) --cflags)\n"
<< " override CXXFLAGS += -DHAVE_RULES $(shell $(PCRE_CONFIG) --cflags)\n"
<< " ifdef LIBS\n"
<< " LIBS += $(shell $(PCRE_CONFIG) --libs)\n"
<< " else\n"
Expand Down

0 comments on commit 966a89d

Please sign in to comment.