OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid.h versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid.h 1.11 -> 1.12

--- uuid.h       2004/01/15 12:32:26     1.11
+++ uuid.h       2004/01/18 19:22:54     1.12
@@ -30,6 +30,17 @@
 #ifndef __UUID_H__
 #define __UUID_H__
 
+/* minimum C++ support */
+#ifdef __cplusplus
+#define DECLARATION_BEGIN extern "C" {
+#define DECLARATION_END   }
+#else
+#define DECLARATION_BEGIN /*nop*/
+#define DECLARATION_END   /*nop*/
+#endif
+
+DECLARATION_BEGIN
+
 /* encoding octet stream lengths */
 #define UUID_LEN_BIN (128 / 8 /*bytes*/)
 #define UUID_LEN_STR (128 / 4 /*nibbles*/ + 4 /*hyphens*/)
@@ -79,5 +90,7 @@
 /* error handling */
 extern char      *uuid_error    (uuid_rc_t _rc);
 
+DECLARATION_END
+
 #endif /* __UUID_H__ */
 

CVSTrac 2.0.1