fixes the non-unicode path of file_helpers on windows

Macros can't start with ##, this fixes it.

PiperOrigin-RevId: 565066376
This commit is contained in:
MediaPipe Team 2023-09-13 09:02:03 -07:00 committed by Copybara-Service
parent 90e18eab91
commit 8c9cd8a2fb

View File

@ -106,8 +106,7 @@ std::string NativeToUtf8(const PathString& string) {
using PathString = std::string;
PathString Utf8ToNative(const std::string& string) { return string; }
std::string NativeToUtf8(const PathString& string) { return string; }
#define FILE_PATH_LITERAL_INTERNAL(x) ##x
#define FILE_PATH_LITERAL(x) FILE_PATH_LITERAL_INTERNAL(x)
#define FILE_PATH_LITERAL(x) x
#endif
class DirectoryListing {