Changeset 9882

Show
Ignore:
Timestamp:
03/10/09 12:14:56 (5 years ago)
Author:
robert
Message:

From Martin Spott, compile fixes for IBM AIX.

Location:
OpenSceneGraph/trunk/include/osg
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/GLU

    r7549 r9882  
    1717#include <osg/GL> 
    1818 
    19 #if defined(__APPLE__) || defined (_AIX) 
     19#if defined(__APPLE__) || \ 
     20    (defined (_AIX) && !defined (_AIX51)) 
    2021    #include <OpenGL/glu.h> 
    2122#else 
  • OpenSceneGraph/trunk/include/osg/Math

    r9218 r9882  
    4545#endif 
    4646 
    47 #if defined (sun) || defined (__APPLE__) 
     47#if defined (sun) || \ 
     48    defined (__APPLE__) || \ 
     49    (defined (_AIX) && defined (__GNUC__)) 
    4850 
    4951    #include <float.h> 
     
    9496#if defined (sun) || \ 
    9597    defined (__hpux) || \ 
    96     defined (APPLE_PRE_10_2) 
     98    defined (APPLE_PRE_10_2) || \ 
     99    (defined (_AIX) && defined (__GNUC__)) 
    97100 
    98101    #ifndef floorf