From e12cb8e92ea637023a9b11ea4602ad1679bcb205 Mon Sep 17 00:00:00 2001 From: pmttavara <34119228+pmttavara@users.noreply.github.com> Date: Thu, 1 Feb 2018 02:18:23 -0500 Subject: [PATCH] Add STBTT_fmod(x,y) I guess I forgot to actually add the definition for STBTT_fmod. I guess I didn't encounter any errors on my machine because I had defined it. Duh! --- stb_truetype.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stb_truetype.h b/stb_truetype.h index 68c9704..3d3412f 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -441,6 +441,11 @@ int main(int arg, char **argv) #define STBTT_pow(x,y) pow(x,y) #endif + #ifndef STBTT_fmod + #include + #define STBTT_fmod(x,y) fmod(x,y) + #endif + #ifndef STBTT_cos #include #define STBTT_cos(x) cos(x)