From b03c498d0b9c25b96a271dabff7fa7613dcfdb30 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Tue, 13 Aug 2019 18:35:41 +0200
Subject: [PATCH] Typedef most frequent types in opencl_stdint.h

---
 pystencils/include/opencl_stdint.h | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/pystencils/include/opencl_stdint.h b/pystencils/include/opencl_stdint.h
index ac74a14..14ad558 100644
--- a/pystencils/include/opencl_stdint.h
+++ b/pystencils/include/opencl_stdint.h
@@ -1 +1,16 @@
-typedef long int int64_t;
+#ifndef OPENCL_STDINT
+#define OPENCL_STDINT
+
+typedef unsigned int      uint;
+typedef unsigned int      uint_t;
+
+typedef signed char       int8_t;
+typedef signed short      int16_t;
+typedef signed int        int32_t;
+typedef signed long int   int64_t;
+typedef unsigned char     uint8_t;
+typedef unsigned short    uint16_t;
+typedef unsigned int      uint32_t;
+typedef unsigned long int uint64_t;
+
+#endif
-- 
GitLab