Avoid no symbols warning in MacOS

This commit is contained in:
Carles Fernandez 2021-02-18 13:01:48 +01:00
parent 8fe9a74ff2
commit 6c5f26fcf7
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 5 additions and 0 deletions

View File

@ -34,4 +34,9 @@ std::string operator"" s(const char* str, std::size_t len)
} // namespace string_literals
} // namespace std
#else
// Avoid "gnss_sdr_string_literals.cc.o has no symbols" warning in MacOS with a
// dummy symbol so ranlib does not complain
void avoid_no_symbols_warning() {}
#endif // __cplusplus == 201103L