aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-17 18:57:07 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-17 18:57:07 (GMT)
commitfaf7ce5d4fabb66b7d52b47f267b8b6b42160d19 (patch)
tree600c1e4a2d7b071a321f6cc12cb921754d79d663 /src/utils
parentc7068f106f59a8783f5473746fc134b668673d29 (diff)
downloadhostap-faf7ce5d4fabb66b7d52b47f267b8b6b42160d19.zip
hostap-faf7ce5d4fabb66b7d52b47f267b8b6b42160d19.tar.gz
hostap-faf7ce5d4fabb66b7d52b47f267b8b6b42160d19.tar.bz2
Drop CONFIG_TI_COMPILER ifdefs
This experimental support for Texas Instruments C compiler was never fully completed and it has not really been used in close to ten years, so drop this to simply the header files. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/common.h26
-rw-r--r--src/utils/includes.h6
2 files changed, 0 insertions, 32 deletions
diff --git a/src/utils/common.h b/src/utils/common.h
index 6f2cfba..aab4fc8 100644
--- a/src/utils/common.h
+++ b/src/utils/common.h
@@ -53,16 +53,6 @@ static inline unsigned int bswap_32(unsigned int v)
}
#endif /* __APPLE__ */
-#ifdef CONFIG_TI_COMPILER
-#define __BIG_ENDIAN 4321
-#define __LITTLE_ENDIAN 1234
-#ifdef __big_endian__
-#define __BYTE_ORDER __BIG_ENDIAN
-#else
-#define __BYTE_ORDER __LITTLE_ENDIAN
-#endif
-#endif /* CONFIG_TI_COMPILER */
-
#ifdef CONFIG_NATIVE_WINDOWS
#include <winsock.h>
@@ -110,22 +100,6 @@ typedef INT8 s8;
#define WPA_TYPES_DEFINED
#endif /* __vxworks */
-#ifdef CONFIG_TI_COMPILER
-#ifdef _LLONG_AVAILABLE
-typedef unsigned long long u64;
-#else
-/*
- * TODO: 64-bit variable not available. Using long as a workaround to test the
- * build, but this will likely not work for all operations.
- */
-typedef unsigned long u64;
-#endif
-typedef unsigned int u32;
-typedef unsigned short u16;
-typedef unsigned char u8;
-#define WPA_TYPES_DEFINED
-#endif /* CONFIG_TI_COMPILER */
-
#ifndef WPA_TYPES_DEFINED
#ifdef CONFIG_USE_INTTYPES_H
#include <inttypes.h>
diff --git a/src/utils/includes.h b/src/utils/includes.h
index 9781574..75513fc 100644
--- a/src/utils/includes.h
+++ b/src/utils/includes.h
@@ -22,22 +22,17 @@
#include <stdarg.h>
#include <string.h>
#ifndef _WIN32_WCE
-#ifndef CONFIG_TI_COMPILER
#include <signal.h>
#include <sys/types.h>
-#endif /* CONFIG_TI_COMPILER */
#include <errno.h>
#endif /* _WIN32_WCE */
#include <ctype.h>
-#ifndef CONFIG_TI_COMPILER
#ifndef _MSC_VER
#include <unistd.h>
#endif /* _MSC_VER */
-#endif /* CONFIG_TI_COMPILER */
#ifndef CONFIG_NATIVE_WINDOWS
-#ifndef CONFIG_TI_COMPILER
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -45,7 +40,6 @@
#include <sys/uio.h>
#include <sys/time.h>
#endif /* __vxworks */
-#endif /* CONFIG_TI_COMPILER */
#endif /* CONFIG_NATIVE_WINDOWS */
#endif /* INCLUDES_H */