Ignore:
Timestamp:
Jun 28, 2012, 7:04:34 PM (7 years ago)
Author:
sam
Message:

build: allow to build the PS3 binaries from Visual Studio if the proper
software is installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/trig.cpp

    r1512 r1535  
    3030        {
    3131            double f = (double)i * (1.0 / 1000.0);
    32 #if defined __GNUC__
     32#if defined __GNUC__ && !defined __SNC__
    3333            double a = __builtin_sin(f);
    3434#else
     
    4343        {
    4444            double f = (double)i * (1.0 / 100000.0);
    45 #if defined __GNUC__
     45#if defined __GNUC__ && !defined __SNC__
    4646            double a = __builtin_sin(f);
    4747#else
     
    6161        {
    6262            double f = (double)i * (1.0 / 1000.0);
    63 #if defined __GNUC__
     63#if defined __GNUC__ && !defined __SNC__
    6464            double a = __builtin_cos(f);
    6565#else
     
    7474        {
    7575            double f = (double)i * (1.0 / 100000.0);
    76 #if defined __GNUC__
     76#if defined __GNUC__ && !defined __SNC__
    7777            double a = __builtin_cos(f);
    7878#else
     
    9292        {
    9393            double f = (double)i * (1.0 / 1000.0);
    94 #if defined __GNUC__
     94#if defined __GNUC__ && !defined __SNC__
    9595            double a1 = __builtin_sin(f);
    9696            double a2 = __builtin_cos(f);
     
    109109        {
    110110            double f = (double)i * (1.0 / 100000.0);
    111 #if defined __GNUC__
     111#if defined __GNUC__ && !defined __SNC__
    112112            double a1 = __builtin_sin(f);
    113113            double a2 = __builtin_cos(f);
     
    131131        {
    132132            double f = (double)i * (1.0 / 10000.0);
    133 #if defined __GNUC__
     133#if defined __GNUC__ && !defined __SNC__
    134134            double a = __builtin_tan(f);
    135135#else
     
    149149        {
    150150            double f = (double)i * (1.0 / 100000.0);
    151 #if defined __GNUC__
     151#if defined __GNUC__ && !defined __SNC__
    152152            double a = __builtin_tan(f);
    153153#else
Note: See TracChangeset for help on using the changeset viewer.