]> git.sur5r.net Git - cc65/blobdiff - include/stddef.h
New EMD driver for the ISEPIC cartridge written and contributed by
[cc65] / include / stddef.h
index bb86299cd2903a0cfd50c52a5b7a7137962cb01e..eff0c55bd8d3390f4399e205d3dcba94d52ce32e 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                stddef.h                                  */
+/*                                stddef.h                                  */
 /*                                                                           */
-/*                           Common definitions                             */
+/*                           Common definitions                             */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2000 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 /* Standard data types */
-#ifndef _PTRDIFF_T
-#define _PTRDIFF_T
+#ifndef _HAVE_ptrdiff_t
+#define _HAVE_ptrdiff_t
 typedef int ptrdiff_t;
 #endif
-#ifndef _WCHAR_T
-#define _WCHAR_T
+#ifndef _HAVE_wchar_t
+#define _HAVE_wchar_t
 typedef char wchar_t;
 #endif
-#ifndef _SIZE_T
-#define _SIZE_T
+#ifndef _HAVE_size_t
+#define _HAVE_size_t
 typedef unsigned size_t;
 #endif
 
 /* NULL pointer */
-#ifdef NULL
-#  undef NULL
-#endif
+#ifndef _HAVE_NULL
 #define NULL   0
+#define _HAVE_NULL
+#endif
 
 /* offsetof macro */
 #define offsetof(type, member) (size_t) (&((type*) 0)->member)
@@ -68,4 +68,3 @@ typedef unsigned size_t;
 
 
 
-