Iscle 7912b7deec viper.cpp: Rename methods and general housekeeping
Removed strcpy calls as those would lead to a buffer overflow and were unnecessary. Alse added nullptr checking just in case (official Google effects do so)
2022-08-23 00:17:32 +02:00

12 lines
415 B
C

#pragma once
#ifdef ANDROID_TOOLCHAIN
#include <android/log.h>
#else
#define __android_log_write(...) do {} while (0)
#define __android_log_print(...) do {} while (0)
#define ANDROID_LOG_INFO 1
#endif
#define v4a_print(status, message) __android_log_write(status, "ViPER4Android_Reworked", message)
#define v4a_printf(status, format, ...) __android_log_print(status, "ViPER4Android_Reworked", format, __VA_ARGS__)