stb_truetype - remove duplicate definition

master
Sean Barrett ago%!(EXTRA string=7 years)
parent ee0ebfc79b
commit 76ec599c68
  1. 7
      stb_truetype.h

@ -43,7 +43,7 @@
// Hou Qiming Derek Vinyard // Hou Qiming Derek Vinyard
// Rob Loach Cort Stratton // Rob Loach Cort Stratton
// Kenney Phillis Jr. github:oyvindjam // Kenney Phillis Jr. github:oyvindjam
// // github:vassvik
// //
// VERSION HISTORY // VERSION HISTORY
// //
@ -418,11 +418,6 @@ int main(int arg, char **argv)
#define STBTT_fabs(x) fabs(x) #define STBTT_fabs(x) fabs(x)
#endif #endif
#ifndef STBTT_fabs
#include <math.h>
#define STBTT_fabs(x) fabs(x)
#endif
// #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h // #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h
#ifndef STBTT_malloc #ifndef STBTT_malloc
#include <stdlib.h> #include <stdlib.h>

Loading…
Cancel
Save