ecere/gfx/newFonts: Further tweaks for Emscripten
authorJerome St-Louis <jerome@ecere.com>
Fri, 11 Mar 2016 20:42:54 +0000 (05:42 +0900)
committerJerome St-Louis <jerome@ecere.com>
Mon, 21 Nov 2016 14:18:45 +0000 (09:18 -0500)
ecere/src/gfx/newFonts/drawManager.ec
ecere/src/gfx/newFonts/fmFontManager.ec
ecere/src/gfx/newFonts/fontRenderer.ec

index 4801546..365e5a1 100644 (file)
@@ -1,5 +1,7 @@
 import "OpenGLDisplayDriver"
 
+#define _Noreturn
+
 #include <stdio.h>
 #include <math.h>
 #include <stdlib.h>
index ca16976..bcccdb9 100644 (file)
@@ -11,6 +11,8 @@ import "imgDistMap"
 
 #include <math.h>
 
+#define _Noreturn
+
 #include "cc.h"
 
 static inline uint32 decodeUTF8( uint32 b, uint32 *state, unichar *retCodePoint ) { return ccUtf8ToUnicode(b, state, (uint *)retCodePoint); }
index 77bba38..f950afb 100644 (file)
@@ -5,6 +5,8 @@
  * *****************************************************************************/
 import "Color"
 
+#define _Noreturn
+
 #include <math.h>
 #include <stdlib.h>