add defined(RHAPSODY) around the XP_MAC lines

git-svn-id: svn://10.0.0.236/trunk@62890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
2000-03-14 06:16:13 +00:00
parent 9ad93b4246
commit 936a018533
2 changed files with 10 additions and 10 deletions

View File

@@ -49,7 +49,7 @@
#include "prtypes.h"
#endif
#ifdef XP_MAC
#if defined(XP_MAC) || defined(RHAPSODY)
# include <Quickdraw.h>
# include <Events.h>
# include <MacWindows.h>
@@ -226,10 +226,10 @@ enum nsPluginWindowType {
nsPluginWindowType_Drawable
};
#ifdef XP_MAC
#if defined(XP_MAC) || defined(RHAPSODY)
struct nsPluginPort {
CGrafPtr port; /* Grafport */
GrafPtr port; /* Grafport */
PRInt32 portx; /* position inside the topmost window */
PRInt32 porty;
};
@@ -296,7 +296,7 @@ struct nsPluginPrint {
struct nsPluginEvent {
#if defined(XP_MAC)
#if defined(XP_MAC) || defined(RHAPSODY)
EventRecord* event;
nsPluginPlatformWindowRef window;
@@ -321,7 +321,7 @@ struct nsPluginEvent {
* Non-standard event types that can be passed to HandleEvent
*/
enum nsPluginEventType {
#ifdef XP_MAC
#if defined(XP_MAC) || defined(RHAPSODY)
nsPluginEventType_GetFocusEvent = (osEvt + 16),
nsPluginEventType_LoseFocusEvent,
nsPluginEventType_AdjustCursorEvent,

View File

@@ -49,7 +49,7 @@
#include "prtypes.h"
#endif
#ifdef XP_MAC
#if defined(XP_MAC) || defined(RHAPSODY)
# include <Quickdraw.h>
# include <Events.h>
# include <MacWindows.h>
@@ -226,10 +226,10 @@ enum nsPluginWindowType {
nsPluginWindowType_Drawable
};
#ifdef XP_MAC
#if defined(XP_MAC) || defined(RHAPSODY)
struct nsPluginPort {
CGrafPtr port; /* Grafport */
GrafPtr port; /* Grafport */
PRInt32 portx; /* position inside the topmost window */
PRInt32 porty;
};
@@ -296,7 +296,7 @@ struct nsPluginPrint {
struct nsPluginEvent {
#if defined(XP_MAC)
#if defined(XP_MAC) || defined(RHAPSODY)
EventRecord* event;
nsPluginPlatformWindowRef window;
@@ -321,7 +321,7 @@ struct nsPluginEvent {
* Non-standard event types that can be passed to HandleEvent
*/
enum nsPluginEventType {
#ifdef XP_MAC
#if defined(XP_MAC) || defined(RHAPSODY)
nsPluginEventType_GetFocusEvent = (osEvt + 16),
nsPluginEventType_LoseFocusEvent,
nsPluginEventType_AdjustCursorEvent,