Changeset 18591 for trunk/Mars


Ignore:
Timestamp:
09/16/16 15:17:28 (8 years ago)
Author:
tbretz
Message:
Tried to make the compiler hack compiler version dependent.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mbase/MQuaternion.h

    r9564 r18591  
    99#ifndef ROOT_TQuaternion
    1010#include <math.h>
     11#if (__GNUC__ < 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ < 8))
    1112#define sqrt ::sqrt
     13#endif
    1214#include <TQuaternion.h>
    1315#undef sqrt
Note: See TracChangeset for help on using the changeset viewer.