Explorar el Código

build: work around a bug in the NaCl SDK C++ headers.

legacy
Sam Hocevar sam hace 12 años
padre
commit
f2560ff5b8
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      src/core.h

+ 7
- 0
src/core.h Ver fichero

@@ -78,6 +78,13 @@ static inline int isnan(float f)
}
#endif


/* XXX: workaround for a compilation bug in NaCl headers */
#if defined __native_client__
# define typeid(x) (*(type_info*)nullptr)
#endif


/* External declaration for LolFx files. */
#define LOLFX_RESOURCE_DECLARE(name) \
extern "C" char const *LOLFX_RESOURCE_NAME(name)


Cargando…
Cancelar
Guardar