]> pd.if.org Git - pdclib/blobdiff - includes/errno.h
Re-import from Subversion.
[pdclib] / includes / errno.h
index e85d3024b670f3dd31f750c1d08e23b0228a3e72..5bd397d12424d23e250e4976a20bbddf06ecc8ee 100644 (file)
@@ -1,27 +1,34 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-// Errors
-// ----------------------------------------------------------------------------
+/* ----------------------------------------------------------------------------
+ * $Id$
+ * ----------------------------------------------------------------------------
+ * Public Domain C Library - http://pdclib.sourceforge.net
+ * This code is Public Domain. Use, modify, and redistribute at will.
+ * ----------------------------------------------------------------------------
+ * Errors
+ * --------------------------------------------------------------------------*/
 
-#ifndef __ERRNO_H
-#define __ERRNO_H __ERRNO_H
+#ifndef _ERRNO_H
+#define _ERRNO_H _ERRNO_H
 
-// TODO: Documentation
+#ifndef _PERSONALITY
+#define _PERSONALITY _PERSONALITY
+#include "__personality.h"
+#endif /* _PERSONALITY */
 
-// ----------------------------------------------------------------------------
-// DECLARATIONS
+/* TODO: Documentation */
+
+/* ----------------------------------------------------------------------------
+ * DECLARATIONS
+ * --------------------------------------------------------------------------*/
 
 extern int errno;
 
-// ----------------------------------------------------------------------------
-// DEFINES
+/* ----------------------------------------------------------------------------
+ * DEFINES
+ * --------------------------------------------------------------------------*/
 
-#define EDOM      1 // domain error
-#define EILSEQ    2 // illegal (multibyte) sequence
-#define ERANGE    3 // range error
+#define EDOM   _EDOM   /* domain error                                       */
+#define EILSEQ _EILSEQ /* illegal (multibyte) sequence                       */
+#define ERANGE _ERANGE /* range error                                        */
 
-#endif // __ERRNO_H
+#endif /* _ERRNO_H */