Index: OpenSceneGraph/trunk/include/osgViewer/api/Carbon/GraphicsWindowCarbon
===================================================================
--- OpenSceneGraph/trunk/include/osgViewer/api/Carbon/GraphicsWindowCarbon (revision 9120)
+++ OpenSceneGraph/trunk/include/osgViewer/api/Carbon/GraphicsWindowCarbon (revision 9904)
@@ -20,5 +20,5 @@
 #define OSGVIEWER_GRAPHICSWINDOWCARBON 1
 
-#ifdef __APPLE__
+#if defined (__APPLE__) && (!__LP64__)
 
 #include <osgViewer/GraphicsWindow>
@@ -143,4 +143,6 @@
         // get the pixelformat
         AGLPixelFormat getAGLPixelFormat() { return _pixelFormat; }
+        
+        void adaptResize(int x, int y, int w, int h);
 
     protected:
@@ -148,8 +150,5 @@
         void init();
         
-        void transformMouseXY(float& x, float& y);
-        
-        
-        
+        void transformMouseXY(float& x, float& y);      
 
 
