Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/stand/tostools/libtos Don't provide these def...



details:   https://anonhg.NetBSD.org/src/rev/e9e38c32e770
branches:  trunk
changeset: 445650:e9e38c32e770
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Nov 07 22:51:47 2018 +0000

description:
Don't provide these definitions on netbsd as before, but without relying
on int8_t being a macro.

diffstat:

 sys/arch/atari/stand/tostools/libtos/libtos.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 965f6f9b6bb3 -r e9e38c32e770 sys/arch/atari/stand/tostools/libtos/libtos.h
--- a/sys/arch/atari/stand/tostools/libtos/libtos.h     Wed Nov 07 22:21:42 2018 +0000
+++ b/sys/arch/atari/stand/tostools/libtos/libtos.h     Wed Nov 07 22:51:47 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libtos.h,v 1.6 2011/07/17 20:54:37 joerg Exp $ */
+/*     $NetBSD: libtos.h,v 1.7 2018/11/07 22:51:47 maya Exp $  */
 
 /*
  * Copyright (c) 1995 Waldi Ravens.
@@ -58,14 +58,14 @@
 #define        VA_LIST va_list
 #endif
 
-#ifndef int8_t
+#ifndef __NetBSD__
 /*
  * My TOS/MiNT installation does not define these (Leo 09/10/2001).
  */
 typedef        unsigned char   u_int8_t;
 typedef        unsigned short  u_int16_t;
 typedef        unsigned long   u_int32_t;
-#endif /* int8_t */
+#endif /* __NetBSD__ */
 
 struct kparamb;
 struct osdsc;



Home | Main Index | Thread Index | Old Index