X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/ipc.h diff --git a/include/wx/ipc.h b/include/wx/ipc.h index c096924fec..5b4b749895 100644 --- a/include/wx/ipc.h +++ b/include/wx/ipc.h @@ -9,11 +9,14 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_IPC_H_ +#define _WX_IPC_H_ + // Set wxUSE_DDE_FOR_IPC to 1 to use DDE for IPC under Windows. If it is set to // 0, or if the platform is not Windows, use TCP/IP for IPC implementation #if !defined(wxUSE_DDE_FOR_IPC) - #ifdef __WXMSW__ + #ifdef __WINDOWS__ #define wxUSE_DDE_FOR_IPC 1 #else #define wxUSE_DDE_FOR_IPC 0 @@ -39,3 +42,4 @@ #include "wx/sckipc.h" #endif // wxUSE_DDE_FOR_IPC/!wxUSE_DDE_FOR_IPC +#endif // _WX_IPC_H_