Commdlg header fix

György 'Nog' Jeney nog at sdf.lonestar.org
Sun Sep 29 13:27:04 CDT 2002


ChangeLog:
 * include/commdlg.h
   Define SNDMSG

nog.

-------------- next part --------------
Index: include/commdlg.h
===================================================================
RCS file: /home/wine/wine/include/commdlg.h,v
retrieving revision 1.37
diff -u -r1.37 commdlg.h
--- include/commdlg.h	16 Sep 2002 19:29:36 -0000	1.37
+++ include/commdlg.h	29 Sep 2002 13:34:39 -0000
@@ -25,6 +25,15 @@
 extern "C" {
 #endif
 
+/* This is only for Winelib applications. DON't use it wine itself!!! */
+#ifndef SNDMSG
+#ifdef __cplusplus
+#define SNDMSG ::SendMessage
+#else   /* __cplusplus */
+#define SNDMSG SendMessage
+#endif  /* __cplusplus */
+#endif  /* SNDMSG */
+
 #include "prsht.h"
 #include "pshpack1.h"
 



More information about the wine-patches mailing list