]> Zhao Yanbai Git Server - minix.git/commitdiff
ARM: remove minix type exception 27/2927/1
authorBen Gras <ben@minix3.org>
Wed, 10 Dec 2014 15:45:33 +0000 (16:45 +0100)
committerBen Gras <ben@minix3.org>
Wed, 10 Dec 2014 15:46:29 +0000 (16:46 +0100)
. clean fix for minix/arm llvm build problem
. was needed for gcc but isn't any more it seems

Change-Id: Iea1edffbe3149c5c954ae009a388b7ea492f3d1a

sys/arch/arm/include/ansi.h

index fdd86a67ceb9a6a3c044a8a485acc062e1f875ed..f6ddef171d5a8cfc01e5e255dd91a441edc40b30 100644 (file)
  *     #endif
  */
 #define        _BSD_CLOCK_T_           unsigned int    /* clock() */
-#if defined(__minix)
-/* To change this, this require also changing the defintion of size_t in GCC,
- * and to adapt the following headers: int_fmt.h, int_types.h */
-#define _BSD_PTRDIFF_T_                int             /* ptr1 - ptr2 */
-#define _BSD_SIZE_T_           unsigned int    /* sizeof() */
-#define _BSD_SSIZE_T_          int             /* byte count or error */
-#else
 #ifdef __PTRDIFF_TYPE__
 #define        _BSD_PTRDIFF_T_         __PTRDIFF_TYPE__ /* ptr1 - ptr2 */
 #define        _BSD_SSIZE_T_           __PTRDIFF_TYPE__ /* byte count or error */
@@ -67,7 +60,6 @@
 #else
 #define        _BSD_SIZE_T_            unsigned long int /* sizeof() */
 #endif
-#endif /* defined(__minix) */
 #define        _BSD_TIME_T_            __int64_t       /* time() */
 #define        _BSD_CLOCKID_T_         int             /* clockid_t */
 #define        _BSD_TIMER_T_           int             /* timer_t */