Skip to content

Commit

Permalink
Merge pull request #1275 from Tencent/dev
Browse files Browse the repository at this point in the history
fix Android compile error
  • Loading branch information
lingol authored Apr 24, 2024
2 parents 1abfa75 + 6d34583 commit 7302cfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Core/MMKVLog_Android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ void _MMKVLogWithLevel(MMKVLogLevel level, const char *filename, const char *fun
}
}
}
#elif MMKV_ANDROID

# elif defined(MMKV_ANDROID)
# include <android/log.h>
# include <cstdarg>
# include <string>
Expand Down
2 changes: 1 addition & 1 deletion Core/MMKV_Android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
*/

#include "MMKV.h"
// #include <bits/alltypes.h>

#ifdef MMKV_ANDROID

# include <bits/alltypes.h>
# include "InterProcessLock.h"
# include "KeyValueHolder.h"
# include "MMKVLog.h"
Expand Down

0 comments on commit 7302cfe

Please sign in to comment.