don't define __cplusplus for DECCXX if it is already defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -122,11 +122,12 @@
|
|||||||
#endif // VC++ 1.5
|
#endif // VC++ 1.5
|
||||||
|
|
||||||
// Digital Unix C++ compiler only defines this symbol for .cxx and .hxx files,
|
// Digital Unix C++ compiler only defines this symbol for .cxx and .hxx files,
|
||||||
// so define it ourselves
|
// so define it ourselves (newer versions do it for all files, though, and
|
||||||
|
// don't allow it to be redefined)
|
||||||
#ifdef __DECCXX
|
#ifdef __DECCXX
|
||||||
#ifndef __VMS
|
#if !defined(__VMS) && !defined(__cplusplus)
|
||||||
# define __cplusplus
|
#define __cplusplus
|
||||||
#endif
|
#endif
|
||||||
#endif // __DECCXX
|
#endif // __DECCXX
|
||||||
|
|
||||||
// Resolves linking problems under HP-UX
|
// Resolves linking problems under HP-UX
|
||||||
|
Reference in New Issue
Block a user