--- a/pt_stdint.h
+++ b/pt_stdint.h
@@ -16,8 +16,18 @@
 
 #  define vsnprintf _vsnprintf
 #  define snprintf _snprintf
+
+#ifdef _CPLUSPLUS
+/* define if your compiler understands inline commands */
+#define INLINE _inline
+#else
+#define INLINE
+#endif
+
+
 # else
 #  include <stdint.h>
+#define INLINE inline
 # endif
 
 #endif