fix errno linkage

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

 



ChangeLog 
  Fix errno linkage when compiling in C++.

Index: include/msvcrt/errno.h
===================================================================
RCS file: /var/cvs/wine/include/msvcrt/errno.h,v
retrieving revision 1.3
diff -u -r1.3 errno.h
--- include/msvcrt/errno.h	18 Dec 2002 20:17:20 -0000	1.3
+++ include/msvcrt/errno.h	25 Mar 2003 03:34:07 -0000
@@ -112,7 +112,15 @@
 
 #endif /* USE_MSVCRT_PREFIX */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern int* MSVCRT(_errno)(void);
+
+#ifdef __cplusplus
+}
+#endif
 
 #ifndef USE_MSVCRT_PREFIX
 # define errno        (*_errno())


-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux