0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 14:48:56 +02:00

rb: typedef `uint' if necessary.

This commit is contained in:
Jason Volk 2016-08-19 21:09:35 -07:00
parent 9835d43977
commit abf1a5c598

View file

@ -26,6 +26,10 @@ extern "C" {
typedef unsigned long ulong;
#endif
#ifndef uint
typedef unsigned int uint;
#endif
#ifdef __GNUC__
#undef alloca
#define alloca __builtin_alloca