]> pd.if.org Git - pdclib/blobdiff - opt/tss_errno/errno.h
PDCLib includes with quotes, not <>.
[pdclib] / opt / tss_errno / errno.h
index 3b3feab67ac5b920e76b9f40de4f68901c924b56..1e712136b7806ad8d440cafe7949a5b4a9d5199d 100644 (file)
@@ -1,4 +1,4 @@
-/* 7.5 Errors <errno.h>
+/* Errors <errno.h>
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -7,9 +7,11 @@
 #ifndef _PDCLIB_ERRNO_H
 #define _PDCLIB_ERRNO_H _PDCLIB_ERRNO_H
 
-#include <_PDCLIB_int.h>
+#include "_PDCLIB_int.h"
 
-_PDCLIB_BEGIN_EXTERN_C
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 extern int * _PDCLIB_errno_func( void );
 #define errno (*_PDCLIB_errno_func())
@@ -96,6 +98,8 @@ extern int * _PDCLIB_errno_func( void );
 #define EWOULDBLOCK     _PDCLIB_EWOULDBLOCK
 #define EXDEV           _PDCLIB_EXDEV
 
-_PDCLIB_END_EXTERN_C
+#ifdef __cplusplus
+}
+#endif
 
 #endif