SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
Windows/stdio.h
1 #pragma once
2
3 #ifdef noinline
4 #undef noinline
5 #include_next <stdio.h>
6 #define noinline __attribute__((noinline))
7 #else
8 #include_next <stdio.h>
9 #endif
10
11 #include <stdlib.h>
12 #include <stdarg.h>
13
14 #if _WIN64
15 #define fseek(...) _fseeki64(__VA_ARGS__)
16 #endif
17
18 int access(const char *filename, int mode);
19 #define R_OK 4
20 #define W_OK 2
21 #define F_OK 0
22
23 #ifndef __MINGW32__
24 #ifndef __LIBRETRO__
25 int vasprintf(char **str, const char *fmt, va_list args);
26 int asprintf(char **strp, const char *fmt, ...);
27 #endif
28 #endif
29
30 intptr_t getline(char **lineptr, size_t *n, FILE *stream);
31
32 #define snprintf _snprintf
33 #define printf(...) fprintf(stdout, __VA_ARGS__)
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.