]> Shamusworld >> Repos - ttedit/blobdiff - src/types.h
Converted from Qt4 to Qt5.
[ttedit] / src / types.h
index cb107ebfab2e30935965ac0015200f8a9258aa3b..0fc13b5e9f768c68af4f83ca369a01ed3f60e50d 100755 (executable)
@@ -1,30 +1,30 @@
-//\r
-// Basic types for platform independent code\r
-//\r
-\r
-#ifndef __TYPES_H__\r
-#define __TYPES_H__\r
-\r
-// This should be portable, since it's part of the C99 standard...!\r
-\r
-#include <stdint.h>\r
-\r
-typedef uint8_t                uint8;\r
-typedef int8_t         int8;\r
-typedef uint16_t       uint16;\r
-typedef int16_t                int16;\r
-typedef uint32_t       uint32;\r
-typedef int32_t                int32;\r
-typedef uint64_t       uint64;\r
-typedef int64_t                int64;\r
-\r
-/*#ifndef _WINDOWS_\r
-#define NULL   0\r
-// This is for non-compliant compilers that don't follow proper scoping rules (and suck). ;-)\r
-#define for if(false);else for\r
-#endif*/\r
-#ifndef NULL\r
-#define NULL    0\r
-#endif\r
-\r
-#endif // __TYPES_H__\r
+//
+// Basic types for platform independent code
+//
+
+#ifndef __TYPES_H__
+#define __TYPES_H__
+
+// This should be portable, since it's part of the C99 standard...!
+
+#include <stdint.h>
+
+typedef uint8_t                uint8;
+typedef int8_t         int8;
+typedef uint16_t       uint16;
+typedef int16_t                int16;
+typedef uint32_t       uint32;
+typedef int32_t                int32;
+typedef uint64_t       uint64;
+typedef int64_t                int64;
+
+/*#ifndef _WINDOWS_
+#define NULL   0
+// This is for non-compliant compilers that don't follow proper scoping rules (and suck). ;-)
+#define for if(false);else for
+#endif*/
+#ifndef NULL
+#define NULL    0
+#endif
+
+#endif // __TYPES_H__