mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Refactor] (All): Restructure include system.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
// Stubs for non-Android platforms
|
||||
#ifndef __ANDROID__
|
||||
|
||||
// Stubs for Android logging functions
|
||||
#define ANDROID_LOG_UNKNOWN 0
|
||||
#define ANDROID_LOG_DEFAULT 1
|
||||
#define ANDROID_LOG_VERBOSE 2
|
||||
#define ANDROID_LOG_DEBUG 3
|
||||
#define ANDROID_LOG_INFO 4
|
||||
#define ANDROID_LOG_WARN 5
|
||||
#define ANDROID_LOG_ERROR 6
|
||||
#define ANDROID_LOG_FATAL 7
|
||||
#define ANDROID_LOG_SILENT 8
|
||||
|
||||
typedef int android_LogPriority;
|
||||
|
||||
inline int __android_log_print(int prio, const char* tag, const char* fmt, ...) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user