Merge pull request #82 from tweenk/egl_emscripten

Add support for Emscripten in EGL/eglplatform.h.
diff --git a/api/EGL/eglplatform.h b/api/EGL/eglplatform.h
index 6d0d8db..29ab288 100644
--- a/api/EGL/eglplatform.h
+++ b/api/EGL/eglplatform.h
@@ -77,6 +77,12 @@
 typedef HBITMAP EGLNativePixmapType;
 typedef HWND    EGLNativeWindowType;
 
+#elif defined(__EMSCRIPTEN__)
+
+typedef int EGLNativeDisplayType;
+typedef int EGLNativePixmapType;
+typedef int EGLNativeWindowType;
+
 #elif defined(__WINSCW__) || defined(__SYMBIAN32__)  /* Symbian */
 
 typedef int   EGLNativeDisplayType;