mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-25 11:55:28 +01:00
9906261e23
Fix some warnings. Rename panic_ask to log_technical_bug.
28 lines
428 B
C
28 lines
428 B
C
#ifndef __CLOVER_STDIO_H__
|
|
#define __CLOVER_STDIO_H__
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <Base.h>
|
|
|
|
#ifdef _MSC_VER
|
|
#define __attribute__(x)
|
|
#endif
|
|
|
|
int vprintf(const char* format, VA_LIST ap);
|
|
int printf(const char* format, ...) __attribute__((format(printf, 1, 2)));
|
|
|
|
|
|
//int snprintf(char* str, size_t size, const char* format, ...) __attribute__((format(printf, 1, 2)));
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|