1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Update macro

This commit is contained in:
winlin 2020-03-29 18:01:46 +08:00
parent 3b8450d4bd
commit a60dbc167a
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ USER_DIR = .
CPPFLAGS += -I\$(GTEST_DIR)/include CPPFLAGS += -I\$(GTEST_DIR)/include
# Flags passed to the C++ compiler. # Flags passed to the C++ compiler.
CXXFLAGS += ${CXXFLAGS} -Wextra ${EXTRA_DEFINES} CXXFLAGS += ${CXXFLAGS} -Wextra ${UTEST_EXTRA_DEFINES}
# All tests produced by this Makefile. Remember to add new tests you # All tests produced by this Makefile. Remember to add new tests you
# created to the list. # created to the list.

2
trunk/configure vendored
View file

@ -396,7 +396,7 @@ fi
# For utest on mac. # For utest on mac.
# @see https://github.com/protocolbuffers/protobuf/issues/51#issuecomment-111044468 # @see https://github.com/protocolbuffers/protobuf/issues/51#issuecomment-111044468
if [[ $SRS_OSX == YES ]]; then if [[ $SRS_OSX == YES ]]; then
EXTRA_DEFINES="-DGTEST_USE_OWN_TR1_TUPLE=1" UTEST_EXTRA_DEFINES="-DGTEST_USE_OWN_TR1_TUPLE=1"
fi fi
# #
# utest, the unit-test cases of srs, base on gtest1.6 # utest, the unit-test cases of srs, base on gtest1.6