diff src/typedef.h @ 0:56410792419a

src: original EFR source from ETSI
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 03 Apr 2024 05:31:37 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/typedef.h	Wed Apr 03 05:31:37 2024 +0000
@@ -0,0 +1,22 @@
+/*_____________________
+ |                     |
+ | Basic types.        |
+ |_____________________|
+*/
+
+#if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__)
+typedef short Word16;
+typedef long Word32;
+typedef int Flag;
+
+#elif defined(__sun)
+typedef short Word16;
+typedef long Word32;
+typedef int Flag;
+
+#elif defined(__unix__) || defined(__unix)
+typedef short Word16;
+typedef int Word32;
+typedef int Flag;
+
+#endif