Cylix / cpp_redis

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform - NO LONGER MAINTAINED - Please check https://github.com/cpp-redis/cpp_redis
MIT License
1.25k stars 554 forks source link

Multiple definitions do not work when compiling #171

Closed cblauvelt closed 6 years ago

cblauvelt commented 6 years ago

When multiple optional definitions are defined, each subsequent definition will over write previous definitions.

For example defining -DUSE_CUSTOM_TCP_CLIENT=1 -DLOGGING_ENABLED=1 will only result in -D __CPP_REDIS_USE_CUSTOM_TCP_CLIENT=1

Cylix commented 6 years ago

Thanks for fixing that, I'm gonna fix that on tacopie side.