Changeset 1050 for trunk/test/math


Ignore:
Timestamp:
Nov 6, 2011, 2:07:47 AM (11 years ago)
Author:
sam
Message:

test: fix OS X compilation; we still need SDLmain.a on that platform.

Location:
trunk/test/math
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/math/pi.cpp

    r1008 r1050  
    1414
    1515#include <cstdio>
     16
     17#if USE_SDL && defined __APPLE__
     18#   include <SDL_main.h>
     19#endif
    1620
    1721#include "core.h"
  • trunk/test/math/poly.cpp

    r1015 r1050  
    1414
    1515#include <cstdio>
     16
     17#if USE_SDL && defined __APPLE__
     18#   include <SDL_main.h>
     19#endif
    1620
    1721#include "core.h"
     
    96100}
    97101
    98 int main(void)
     102int main(int argc, char **argv)
    99103{
    100104    typedef union { float f; uint32_t x; } flint;
  • trunk/test/math/remez.cpp

    r1027 r1050  
    1515#include <cstring>
    1616#include <cstdio>
     17
     18#if USE_SDL && defined __APPLE__
     19#   include <SDL_main.h>
     20#endif
    1721
    1822#include "core.h"
     
    3741}
    3842
    39 int main(void)
     43int main(int argc, char **argv)
    4044{
    4145    RemezSolver<6> solver;
Note: See TracChangeset for help on using the changeset viewer.