diff options
| author | Ahmad Fatoum <ahmad@a3f.at> | 2018-05-21 01:27:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-21 01:27:17 +0200 |
| commit | cea78e4fc16a317ef7ffd7dd537c8b47f77dca57 (patch) | |
| tree | 249680970621564360684968da7396fe8d9c11cb /src/utils.c | |
| parent | a752092055ca7c6c3d9d2b74d6ab212db14d0909 (diff) | |
| parent | bd2300fed34b458e4a419a486019afccf2ab39b1 (diff) | |
| download | raylib-cea78e4fc16a317ef7ffd7dd537c8b47f77dca57.tar.gz raylib-cea78e4fc16a317ef7ffd7dd537c8b47f77dca57.zip | |
Travis CI: Test Android configuration (#546)
I don't know if this actually works, but it compiles, which is good enough for CI.
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index 9d9d8b55..cd75e695 100644 --- a/src/utils.c +++ b/src/utils.c @@ -57,6 +57,12 @@ #include <stdarg.h> // Required for: va_list, va_start(), vfprintf(), va_end() #include <string.h> // Required for: strlen(), strrchr(), strcmp() +/* This should be in <stdio.h>, but Travis doesn't find it... */ +FILE *funopen(const void *cookie, int (*readfn)(void *, char *, int), + int (*writefn)(void *, const char *, int), + fpos_t (*seekfn)(void *, fpos_t, int), int (*closefn)(void *)); + + #if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI) #define STB_IMAGE_WRITE_IMPLEMENTATION #include "external/stb_image_write.h" // Required for: stbi_write_bmp(), stbi_write_png() |
